qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 3a2bf5: cpu: Remove capstone meson dependency


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 3a2bf5: cpu: Remove capstone meson dependency
Date: Mon, 27 Feb 2023 08:24:30 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 3a2bf5456cab6e0c5a374ef408c650aed22b783a
      
https://github.com/qemu/qemu/commit/3a2bf5456cab6e0c5a374ef408c650aed22b783a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  cpu: Remove capstone meson dependency

Only disas.c requires capstone CFLAGS, not cpu.c.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221130135241.85060-2-philmd@linaro.org>


  Commit: 11db86c7da6bba44216da8b9269a8c06e4b283db
      
https://github.com/qemu/qemu/commit/11db86c7da6bba44216da8b9269a8c06e4b283db
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M cpu.c
    M cpus-common.c

  Log Message:
  -----------
  cpu: Move breakpoint helpers to common code

This code is not target-specific.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221130135241.85060-4-philmd@linaro.org>


  Commit: 012add0d52621e34632ea24361a0c751bc2f5ad1
      
https://github.com/qemu/qemu/commit/012add0d52621e34632ea24361a0c751bc2f5ad1
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/core/cpu.h

  Log Message:
  -----------
  cputlb: Restrict SavedIOTLB to system emulation

Commit 2f3a57ee47 ("cputlb: ensure we save the IOTLB data in
case of reset") added the SavedIOTLB structure -- which is
system emulation specific -- in the generic CPUState structure.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216215519.5522-3-philmd@linaro.org>


  Commit: bfa8117cd81f4e79986f79ff0338ef22c6a25a42
      
https://github.com/qemu/qemu/commit/bfa8117cd81f4e79986f79ff0338ef22c6a25a42
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M accel/kvm/kvm-all.c
    M accel/kvm/kvm-cpus.h
    M accel/tcg/tcg-accel-ops.c
    M gdbstub/gdbstub.c
    M gdbstub/internals.h
    M gdbstub/softmmu.c
    M gdbstub/user.c
    M include/sysemu/accel-ops.h

  Log Message:
  -----------
  gdbstub: Use vaddr type for generic insert/remove_breakpoint() API

Both insert/remove_breakpoint() handlers are used in system and
user emulation. We can not use the 'hwaddr' type on user emulation,
we have to use 'vaddr' which is defined as "wide enough to contain
any #target_ulong virtual address".

gdbstub.c doesn't require to include "exec/hwaddr.h" anymore.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216215519.5522-4-philmd@linaro.org>


  Commit: b413cb72267e9328b715b1c68a14210ee077fc12
      
https://github.com/qemu/qemu/commit/b413cb72267e9328b715b1c68a14210ee077fc12
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/alpha/cpu.h
    M target/arm/cpu.h
    M target/cris/cpu.h
    M target/hppa/cpu.h
    M target/i386/cpu.h
    M target/m68k/cpu.h
    M target/microblaze/cpu.h
    M target/nios2/cpu.h
    M target/openrisc/cpu.h
    M target/ppc/cpu.h
    M target/riscv/cpu.h
    M target/rx/cpu.h
    M target/rx/helper.c
    M target/sh4/cpu.h
    M target/sparc/cpu.h
    M target/xtensa/cpu.h

  Log Message:
  -----------
  target/cpu: Restrict cpu_get_phys_page_debug() handlers to sysemu

The 'hwaddr' type is only available / meaningful on system emulation.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216215519.5522-5-philmd@linaro.org>


  Commit: 7ef4b54304f797108b8f4c360fb61828b8c90947
      
https://github.com/qemu/qemu/commit/7ef4b54304f797108b8f4c360fb61828b8c90947
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/arm/internals.h
    M target/m68k/cpu.h
    M target/riscv/cpu.h

  Log Message:
  -----------
  target/cpu: Restrict do_transaction_failed() handlers to sysemu

The 'hwaddr' type is only available / meaningful on system emulation.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216215519.5522-6-philmd@linaro.org>


  Commit: 3e284fb62657c7960d2f27f018eb947fb84b5976
      
https://github.com/qemu/qemu/commit/3e284fb62657c7960d2f27f018eb947fb84b5976
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/i386/hax/hax-i386.h
    M target/i386/hvf/hvf-i386.h

  Log Message:
  -----------
  target/i386: Remove NEED_CPU_H guard from target-specific headers

NEED_CPU_H is always defined for these target-specific headers.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221216220158.6317-2-philmd@linaro.org>


  Commit: 626f0687a5b83bb171b146ca9898cb0177d007d8
      
https://github.com/qemu/qemu/commit/626f0687a5b83bb171b146ca9898cb0177d007d8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/i386/cpu.h

  Log Message:
  -----------
  target/i386/cpu: Remove dead helper_lock() declaration

Missed in commit 37b995f6e7 ("target-i386: remove helper_lock()").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221216220158.6317-3-philmd@linaro.org>


  Commit: ae7356d89c2ac76f14e9206f0af5bc88c1096775
      
https://github.com/qemu/qemu/commit/ae7356d89c2ac76f14e9206f0af5bc88c1096775
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/i386/cpu-dump.c
    M target/i386/cpu.h

  Log Message:
  -----------
  target/i386: Remove x86_cpu_dump_local_apic_state() dead stub

x86_cpu_dump_local_apic_state() is called from monitor.c which
is only compiled for system emulation since commit bf95728400
("monitor: remove target-specific code from monitor.c").

Interestingly this stub was added few weeks later in commit
1f871d49e3 ("hmp: added local apic dump state") and was not
necessary by that time.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221216220158.6317-5-philmd@linaro.org>


  Commit: 0b816f9ada95b4946d8f0de01c2cc963b5dabf97
      
https://github.com/qemu/qemu/commit/0b816f9ada95b4946d8f0de01c2cc963b5dabf97
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    A target/hppa/fpu_helper.c
    M target/hppa/meson.build
    M target/hppa/op_helper.c

  Log Message:
  -----------
  target/hppa: Extract FPU helpers to fpu_helper.c

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221217173219.8715-2-philmd@linaro.org>


  Commit: 8c1d799feb78315c4af8f70b2a5c62b2b3b5216e
      
https://github.com/qemu/qemu/commit/8c1d799feb78315c4af8f70b2a5c62b2b3b5216e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/hppa/meson.build
    M target/hppa/op_helper.c
    A target/hppa/sys_helper.c

  Log Message:
  -----------
  target/hppa: Extract system helpers to sys_helper.c

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221217173219.8715-3-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 5d621730b34e7d4d4b8b4ec1b4612a82d5db52a6
      
https://github.com/qemu/qemu/commit/5d621730b34e7d4d4b8b4ec1b4612a82d5db52a6
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    R target/alpha/STATUS

  Log Message:
  -----------
  target/alpha: Remove obsolete STATUS document

Likely out of sync: last update is from 2008
(commit d1412eb240), 12 years ago.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221217172907.8364-2-philmd@linaro.org>


  Commit: af7edcea7b24eff8141d0d559435ad19a8773a12
      
https://github.com/qemu/qemu/commit/af7edcea7b24eff8141d0d559435ad19a8773a12
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/loongarch/cpu.h

  Log Message:
  -----------
  target/loongarch/cpu: Remove unused "sysbus.h" header

The cpu is used in both user and system emulation context while
sysbus.h is system-only. Remove it since it's not needed anyway.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221217172907.8364-3-philmd@linaro.org>


  Commit: 3f33e078f40f1cc9721bb53f80b1de9dcbfe1a8f
      
https://github.com/qemu/qemu/commit/3f33e078f40f1cc9721bb53f80b1de9dcbfe1a8f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/loongarch/cpu.h

  Log Message:
  -----------
  target/loongarch/cpu: Restrict "memory.h" header to sysemu

Missed in 0093b9a5ee ("target/loongarch: Adjust functions
and structure to support user-mode") while cleaning commit
f84a2aacf5 ("target/loongarch: Add LoongArch IOCSR instruction").

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221217172907.8364-4-philmd@linaro.org>


  Commit: 4e72887b0929592f777ecab2babcad15f821821f
      
https://github.com/qemu/qemu/commit/4e72887b0929592f777ecab2babcad15f821821f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/ppc/internal.h

  Log Message:
  -----------
  target/ppc/internal: Restrict MMU declarations to sysemu

The 'hwaddr' type is only available / meaningful on system emulation.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221217172907.8364-5-philmd@linaro.org>


  Commit: 4cb72689d6fcd7bf7dadf0fa4c92e3ac28ee2fe8
      
https://github.com/qemu/qemu/commit/4cb72689d6fcd7bf7dadf0fa4c92e3ac28ee2fe8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/ppc/kvm.c

  Log Message:
  -----------
  target/ppc/kvm: Remove unused "sysbus.h" header

Nothing requires SysBus declarations here.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221217172907.8364-6-philmd@linaro.org>


  Commit: 029e4e8f629945d46edac87c181dfa2215923ce9
      
https://github.com/qemu/qemu/commit/029e4e8f629945d46edac87c181dfa2215923ce9
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/ppc/dfp_helper.c

  Log Message:
  -----------
  target/ppc: Fix warning with clang-15

When compiling for windows-arm64 using clang-15, it reports a sometimes
uninitialized variable. This seems to be a false positive, as a default
case guards switch expressions, preventing to return an uninitialized
value, but clang seems unhappy with assert(0) definition.

Change code to g_assert_not_reached() fix the warning.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230221153006.20300-5-pierrick.bouvier@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 875b9821ce7167a8050b4a96f9a57a549dc64eff
      
https://github.com/qemu/qemu/commit/875b9821ce7167a8050b4a96f9a57a549dc64eff
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/riscv/cpu.h

  Log Message:
  -----------
  target/riscv/cpu: Move Floating-Point fields closer

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221217172907.8364-7-philmd@linaro.org>


  Commit: c47d27e2f9ab73da37ef51b173218d8525043c7e
      
https://github.com/qemu/qemu/commit/c47d27e2f9ab73da37ef51b173218d8525043c7e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/sparc/mmu_helper.c

  Log Message:
  -----------
  target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard

Commit caac44a52a ("target/sparc: Make sparc_cpu_tlb_fill sysemu
only") restricted mmu_helper.c to system emulation. Checking
whether CONFIG_USER_ONLY is defined is now pointless.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221217172907.8364-9-philmd@linaro.org>


  Commit: 335da2025bb4d1899a5866c7da535bd4f64ff887
      
https://github.com/qemu/qemu/commit/335da2025bb4d1899a5866c7da535bd4f64ff887
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/xtensa/cpu.c

  Log Message:
  -----------
  target/xtensa/cpu: Include missing "memory.h" header

Under system emulation, xtensa_cpu_initfn() calls
memory_region_init_io(), itself declared in "exec/memory.h".

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221217172907.8364-10-philmd@linaro.org>


  Commit: c6f41e1e1ec712c355c6fad3dd1b5a87a341a0f1
      
https://github.com/qemu/qemu/commit/c6f41e1e1ec712c355c6fad3dd1b5a87a341a0f1
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M target/tricore/cpu.h

  Log Message:
  -----------
  target/tricore: Remove unused fields from CPUTriCoreState

Remove dead code:
- unused fields in CPUTriCoreState
- (unexisting) tricore_def_t structure
- forward declaration of tricore_boot_info structure
  (declared in "hw/tricore/tricore.h", used once in
   hw/tricore/tricore_testboard.c).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230117184217.83305-1-philmd@linaro.org>


  Commit: 788658c7afd57636cf4ff34b4168d40d7a570307
      
https://github.com/qemu/qemu/commit/788658c7afd57636cf4ff34b4168d40d7a570307
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M qom/object_interfaces.c

  Log Message:
  -----------
  qom/object_interfaces: Fix QAPI headers included

Since commit a0e61807a3 ("qapi: Remove QMP events and commands from
user-mode builds") we don't generate the "qapi-commands-qom.h"
header in a user-emulation-only build.

Commit f375026606 ("qom: Factor out user_creatable_process_cmdline")
incorrectly added a dependency on this "qapi/qapi-commands-qom.h"
header (the QMP handlers are still defined in qom/qom-qmp-cmds.c).
Remove it, and add "qapi/qmp/qobject.h" which declares qobject_unref.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221220115709.18508-1-philmd@linaro.org>


  Commit: 1b7f86b84959fdcbe533980cbecaab89ee7f0374
      
https://github.com/qemu/qemu/commit/1b7f86b84959fdcbe533980cbecaab89ee7f0374
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M trace/meson.build

  Log Message:
  -----------
  trace: Do not try to include QMP commands in user emulation binaries

QMP is not available on user emulation; there is not monitor.
Besides, since commit a0e61807a3 ("qapi: Remove QMP events
and commands from user-mode builds") we don't generate the
qapi-commands-trace.h header in a user-emulation-only build.

Remove the QMP trace commands from qemu-user binaries.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221220150417.26751-1-philmd@linaro.org>


  Commit: 7dc6a4ab26c8edb4638f88ea81f06c76abd7db0f
      
https://github.com/qemu/qemu/commit/7dc6a4ab26c8edb4638f88ea81f06c76abd7db0f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M accel/tcg/translate-all.c
    M include/exec/gen-icount.h
    M include/sysemu/cpus.h
    M tcg/tcg.c

  Log Message:
  -----------
  exec: Remove unused 'qemu/timer.h' timer

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221219170806.60580-2-philmd@linaro.org>


  Commit: c2ea36c21b495f3bcc0c5487133f7502934f45e8
      
https://github.com/qemu/qemu/commit/c2ea36c21b495f3bcc0c5487133f7502934f45e8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M tcg/tcg-common.c

  Log Message:
  -----------
  tcg: Silent -Wmissing-field-initializers warning

Silent when compiling with -Wextra:

  tcg/i386/tcg-target.opc.h:34:1: warning: missing field 'args_ct' initializer 
[-Wmissing-field-initializers]
  DEF(x86_punpckl_vec, 1, 2, 0, IMPLVEC)
  ^
  ../tcg/tcg-common.c:30:66: note: expanded from macro 'DEF'
         { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags },
                                                                 ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221220143532.24958-2-philmd@linaro.org>


  Commit: ac52c294d62ca576c0aaa6d7595d5515c8fbd151
      
https://github.com/qemu/qemu/commit/ac52c294d62ca576c0aaa6d7595d5515c8fbd151
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M tcg/tcg-op-gvec.c

  Log Message:
  -----------
  tcg/tcg-op-gvec: Remove unused "qemu/main-loop.h" header

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221219170806.60580-3-philmd@linaro.org>


  Commit: 9571e2929d532b775a51d84c6c2292d7d6181f52
      
https://github.com/qemu/qemu/commit/9571e2929d532b775a51d84c6c2292d7d6181f52
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M accel/tcg/cpu-exec.c
    R accel/tcg/hmp.c
    M accel/tcg/internal.h
    M accel/tcg/meson.build
    A accel/tcg/monitor.c

  Log Message:
  -----------
  accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation

Since commit a0e61807a3 ("qapi: Remove QMP events and commands from
user-mode builds") we don't generate the "qapi-commands-machine.h"
header in a user-emulation-only build.

Rename 'hmp.c' as 'monitor.c' and move the QMP functions from
cpu-exec.c (which is always compiled) to monitor.c (which is only
compiled when system-emulation is selected).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221219170806.60580-4-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 7b0c84a356a9060dcd83dd1dbff3f477edc55e7e
      
https://github.com/qemu/qemu/commit/7b0c84a356a9060dcd83dd1dbff3f477edc55e7e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M accel/xen/xen-all.c

  Log Message:
  -----------
  accel/xen: Remove dead code

Unused since introduction in commit 04b0de0ee8
("xen: factor out common functions").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20230215153451.30626-1-philmd@linaro.org>


  Commit: be56d1f81890a77090865dbab0a14d023c5cbe28
      
https://github.com/qemu/qemu/commit/be56d1f81890a77090865dbab0a14d023c5cbe28
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M accel/kvm/kvm-all.c

  Log Message:
  -----------
  accel/kvm: Silent -Wmissing-field-initializers warning

Silent when compiling with -Wextra:

  ../accel/kvm/kvm-all.c:2291:17: warning: missing field 'num' initializer 
[-Wmissing-field-initializers]
        { NULL, }
                ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221220143532.24958-3-philmd@linaro.org>


  Commit: a99d4b514f7263b63dbd7a20b29043ec84cb6cbf
      
https://github.com/qemu/qemu/commit/a99d4b514f7263b63dbd7a20b29043ec84cb6cbf
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/sysemu/kvm.h

  Log Message:
  -----------
  sysemu/kvm: Remove CONFIG_USER_ONLY guard

User emulation shouldn't really include this header; if included
these declarations are guarded by CONFIG_KVM_IS_POSSIBLE.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221216220738.7355-2-philmd@linaro.org>


  Commit: 800ea01ff8967759de4773dd1ce875b96b838ad5
      
https://github.com/qemu/qemu/commit/800ea01ff8967759de4773dd1ce875b96b838ad5
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    M accel/tcg/cpu-exec.c
    M accel/tcg/tcg-all.c
    M accel/tcg/translator.c
    M accel/tcg/user-exec-stub.c
    M cpu.c
    M gdbstub/gdbstub.c
    M hw/core/ptimer.c
    A include/exec/replay-core.h
    M include/sysemu/replay.h
    M stubs/replay.c
    M tests/unit/ptimer-test-stubs.c
    M util/guest-random.c

  Log Message:
  -----------
  replay: Extract core API to 'exec/replay-core.h'

replay API is used deeply within TCG common code (common to user
and system emulation). Unfortunately "sysemu/replay.h" requires
some QAPI headers for few system-specific declarations, example:

  void replay_input_event(QemuConsole *src, InputEvent *evt);

Since commit c2651c0eaa ("qapi/meson: Restrict UI module to system
emulation and tools") the QAPI header defining the InputEvent is
not generated anymore.
To keep it simple, extract the 'core' replay prototypes to a new
"exec/replay-core.h" header which we include in the TCG code that
doesn't need the rest of the replay API.

Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <20221219170806.60580-5-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: cdc28c7d0da3965f73220cc999da0c0fca4a317c
      
https://github.com/qemu/qemu/commit/cdc28c7d0da3965f73220cc999da0c0fca4a317c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M tests/unit/meson.build

  Log Message:
  -----------
  tests/unit: Restrict machine-smp.c test to system emulation

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221219170806.60580-6-philmd@linaro.org>


  Commit: 9eec82fc16b9237819bdeb4d957b74563a06cd98
      
https://github.com/qemu/qemu/commit/9eec82fc16b9237819bdeb4d957b74563a06cd98
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  softmmu: Silent -Wmissing-field-initializers warning

Silent when compiling with -Wextra:

  ../softmmu/vl.c:886:12: warning: missing field 'flags' initializer 
[-Wmissing-field-initializers]
    { NULL },
           ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221220143532.24958-4-philmd@linaro.org>


  Commit: 56e4e636d3fd52485d7b961963b44abb3a1433b4
      
https://github.com/qemu/qemu/commit/56e4e636d3fd52485d7b961963b44abb3a1433b4
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    M include/hw/core/cpu.h
    M softmmu/meson.build
    M softmmu/physmem.c
    A softmmu/watchpoint.c

  Log Message:
  -----------
  softmmu: Extract watchpoint API from physmem.c

The watchpoint API is specific to TCG system emulation.

Move it to a new compile unit. The inlined stubs are used
for user-mode and non-TCG accelerators.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221209141254.68662-1-philmd@linaro.org>


  Commit: 90516a68680e51d313788bef5cb62ff099dea823
      
https://github.com/qemu/qemu/commit/90516a68680e51d313788bef5cb62ff099dea823
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/qemu/typedefs.h

  Log Message:
  -----------
  qemu/typedefs: Sort in case-insensitive alphabetical order (again)

Following the recommendation added in commit a98c370c46
("typedefs: (Re-)sort entries alphabetically"), and similarly
to commit 64baadc272 ("Sort include/qemu/typedefs.h"), sort
again the type definitions (in case-insensitive alphabetical
order, using 'sort --ignore-case').

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230217141832.24777-2-philmd@linaro.org>


  Commit: b4d2676bb5984637dc98fe9f0e4a6eae45468438
      
https://github.com/qemu/qemu/commit/b4d2676bb5984637dc98fe9f0e4a6eae45468438
  Author: Mauro Matteo Cascella <mcascell@redhat.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/nubus/nubus-device.c

  Log Message:
  -----------
  hw/nubus/nubus-device: Fix memory leak in nubus_device_realize

Local variable "name" is allocated through strdup_printf and should be
freed with g_free() to avoid memory leak.

Fixes: 3616f424 ("nubus-device: add romfile property for loading declaration 
ROMs")
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221222172915.671597-1-mcascell@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: c61ee99ffe54768ce72b7b396aca729eac7f4142
      
https://github.com/qemu/qemu/commit/c61ee99ffe54768ce72b7b396aca729eac7f4142
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/core/qdev.c
    M include/hw/qdev-core.h

  Log Message:
  -----------
  hw/qdev: Constify DeviceState* argument of qdev_get_parent_bus()

The structure is accessed read-only by qdev_get_parent_bus().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230212224730.51438-2-philmd@linaro.org>


  Commit: db9c5a9d4279beb31f412f46e3fa3fea1339391c
      
https://github.com/qemu/qemu/commit/db9c5a9d4279beb31f412f46e3fa3fea1339391c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M accel/tcg/tcg-accel-ops.c
    M include/hw/core/cpu.h

  Log Message:
  -----------
  hw/cpu: Extend CPUState::cluster_index documentation

Copy part of the description of commit f7b78602fd ("accel/tcg:
Add cluster number to TCG TB hash") in tcg_cpu_init_cflags(),
improving a bit CPUState::cluster_index documentation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230216142338.82982-2-philmd@linaro.org>


  Commit: 494e62b7faba60d39a2108ab0480b8148d54e75c
      
https://github.com/qemu/qemu/commit/494e62b7faba60d39a2108ab0480b8148d54e75c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/x86.c
    M include/hw/i386/x86.h

  Log Message:
  -----------
  hw/i386/x86: Reduce init_topo_info() scope

This function is not used anywhere outside this file, so
we can delete the prototype from include/hw/i386/x86.h and
make the function "static void".

This fixes when building with -Wall and using Clang
("Apple clang version 14.0.0 (clang-1400.0.29.202)"):

  ../hw/i386/x86.c:70:24: error: static function 'MACHINE' is used in an inline 
function with external linkage [-Werror,-Wstatic-in-inline]
      MachineState *ms = MACHINE(x86ms);
                         ^
  include/hw/i386/x86.h:101:1: note: use 'static' to give inline function 
'init_topo_info' internal linkage
  void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
  ^
  static
  include/hw/boards.h:24:49: note: 'MACHINE' declared here
  OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE)
                                                  ^

Reported-by: Stefan Weil <sw@weilnetz.de>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221216220158.6317-6-philmd@linaro.org>


  Commit: ef75667e02b9ea33289cd8558c9e19be675fbd51
      
https://github.com/qemu/qemu/commit/ef75667e02b9ea33289cd8558c9e19be675fbd51
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/i386/ich9.h

  Log Message:
  -----------
  hw/i386/ich9: Rename Q35_MASK to ICH9_MASK

The Q35_MASK macro is already defined by TYPE_Q35_HOST_DEVICE, so let
TYPE_ICH9_LPC_DEVICE have its own one to prevent potential name clash.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: be2ddec7f26c2d10bc86ecd26470e553562d2882
      
https://github.com/qemu/qemu/commit/be2ddec7f26c2d10bc86ecd26470e553562d2882
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/pc_q35.c
    M hw/isa/lpc_ich9.c
    M include/hw/i386/ich9.h

  Log Message:
  -----------
  hw/isa/lpc_ich9: Unexport PIRQ functions

No need to rely on the board to wire up the ICH9 PCI IRQs. All functions
access private state of the LPC device which suggests that it should
wire up the IRQs.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-3-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 290c784c17779a59b851b68f7684f48f7b35ebe7
      
https://github.com/qemu/qemu/commit/290c784c17779a59b851b68f7684f48f7b35ebe7
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/pc_q35.c
    M hw/isa/lpc_ich9.c
    M include/hw/i386/ich9.h

  Log Message:
  -----------
  hw/isa/lpc_ich9: Eliminate ICH9LPCState::isa_bus

By using qdev_get_child_bus() we can eliminate ICH9LPCState::isa_bus and
spare the ich9_lpc variable in pc_q35, too.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 8c69ccbddc5a84c47c6752c77f34c73b02a2c81d
      
https://github.com/qemu/qemu/commit/8c69ccbddc5a84c47c6752c77f34c73b02a2c81d
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i2c/smbus_ich9.c

  Log Message:
  -----------
  hw/i2c/smbus_ich9: Move ich9_smb_set_irq() in front of ich9_smbus_realize()

This is a preparation for the next commit to make it cleaner.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-5-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 8e48e9549e59ecd35c414d0c308ff922fb2daa1b
      
https://github.com/qemu/qemu/commit/8e48e9549e59ecd35c414d0c308ff922fb2daa1b
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i2c/smbus_ich9.c
    M hw/i386/pc_q35.c
    M include/hw/i386/ich9.h

  Log Message:
  -----------
  hw/i2c/smbus_ich9: Inline ich9_smb_init() and remove it

ich9_smb_init() is a legacy init function, so modernize the code.

Note that the smb_io_base parameter was unused.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-6-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 9da24717b075841b9b8e02b6ff60a704df6484a1
      
https://github.com/qemu/qemu/commit/9da24717b075841b9b8e02b6ff60a704df6484a1
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  hw/i386/pc_q35: Allow for setting properties before realizing 
TYPE_ICH9_LPC_DEVICE

This is a preparation to make the next patch cleaner.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-7-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 316717af577013dc184606a055d5258fd0284bb3
      
https://github.com/qemu/qemu/commit/316717af577013dc184606a055d5258fd0284bb3
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/acpi/ich9.c
    M hw/i386/pc_q35.c
    M hw/isa/lpc_ich9.c
    M include/hw/acpi/ich9.h
    M include/hw/i386/ich9.h

  Log Message:
  -----------
  hw/isa/lpc_ich9: Connect PM stuff to LPC internally

Make TYPE_ICH9_LPC_DEVICE more self-contained by moving the call to
ich9_lpc_pm_init() from board code to its realize function. In order
to propagate x86_machine_is_smm_enabled(), introduce an "smm-enabled"
property like we have in piix4.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-8-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 4721e1fb27b768295af0f9e2955e84ed862920ac
      
https://github.com/qemu/qemu/commit/4721e1fb27b768295af0f9e2955e84ed862920ac
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/lpc_ich9.c

  Log Message:
  -----------
  hw/isa/lpc_ich9: Remove redundant ich9_lpc_reset() invocation

ich9_lpc_reset() is the dc->reset callback which is called
automatically. No need to call it explicitly during k->realize.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-9-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 081e713cf4df8797fd71d9b4d23d2c816f34180d
      
https://github.com/qemu/qemu/commit/081e713cf4df8797fd71d9b4d23d2c816f34180d
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_q35.c
    M hw/isa/lpc_ich9.c
    M include/hw/i386/ich9.h
    M include/hw/i386/x86.h

  Log Message:
  -----------
  hw/i386/ich9: Remove redundant GSI_NUM_PINS

Most code uses IOAPIC_NUM_PINS. The only place where GSI_NUM_PINS defines
the size of an array is ICH9LPCState::gsi which needs to match
IOAPIC_NUM_PINS. Remove GSI_NUM_PINS for consistency.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-10-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 215090324787820c0cea62659b93c9e683f15543
      
https://github.com/qemu/qemu/commit/215090324787820c0cea62659b93c9e683f15543
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    M hw/i386/kvm/ioapic.c
    M hw/i386/pc.c
    M hw/i386/pc_q35.c
    M hw/intc/apic.c
    M hw/intc/ioapic.c
    M hw/intc/ioapic_common.c
    A hw/intc/ioapic_internal.h
    R include/hw/i386/ioapic.h
    R include/hw/i386/ioapic_internal.h
    M include/hw/i386/x86.h
    A include/hw/intc/ioapic.h
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  hw: Move ioapic*.h to intc/

The ioapic sources reside in hw/intc already. Move the headers there
as well.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-11-shentey@gmail.com>
[PMD: Keep ioapic_internal.h in hw/intc/, not under include/]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 8a41eee1aab4e6097fbd16de4e0a44499945f7a7
      
https://github.com/qemu/qemu/commit/8a41eee1aab4e6097fbd16de4e0a44499945f7a7
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/isa/lpc_ich9.c
    M include/hw/i386/ich9.h

  Log Message:
  -----------
  hw/i386/ich9: Clean up includes

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-12-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: e7ef5456c5e9e08be675182f2c7b405a8209e889
      
https://github.com/qemu/qemu/commit/e7ef5456c5e9e08be675182f2c7b405a8209e889
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    M hw/acpi/ich9.c
    M hw/acpi/ich9_tco.c
    M hw/i2c/smbus_ich9.c
    M hw/i386/acpi-build.c
    M hw/i386/pc_q35.c
    M hw/isa/lpc_ich9.c
    M hw/pci-bridge/i82801b11.c
    R include/hw/i386/ich9.h
    A include/hw/southbridge/ich9.h
    M tests/qtest/tco-test.c

  Log Message:
  -----------
  hw: Move ich9.h to southbridge/

ICH9 is a south bridge which doesn't necessarily depend on x86, so move
it into the southbridge folder, analoguous to PIIX.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-13-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 5deb32123cb4df299e2f81b9ca9f0943f1618212
      
https://github.com/qemu/qemu/commit/5deb32123cb4df299e2f81b9ca9f0943f1618212
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/pci/pci.c

  Log Message:
  -----------
  hw/pci: Fix a typo

Fix 'interrutp' typo.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230211152239.88106-2-philmd@linaro.org>


  Commit: 4f369c565b9c553894fc64554424efbfeef79e90
      
https://github.com/qemu/qemu/commit/4f369c565b9c553894fc64554424efbfeef79e90
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/intc/i8259.c
    M include/hw/intc/i8259.h

  Log Message:
  -----------
  hw/intc/i8259: Document i8259_init()

i8259_init() helper creates a i8259 device on an ISA bus,
connects its IRQ output to the parent's input IRQ, and
returns an array of 16 ISA input IRQs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-2-philmd@linaro.org>


  Commit: edd1b1be6aab0c3a770f03b03f9c1e064726b154
      
https://github.com/qemu/qemu/commit/edd1b1be6aab0c3a770f03b03f9c1e064726b154
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/i82378.c

  Log Message:
  -----------
  hw/isa/i82378: Rename output IRQ as 'cpu_intr'

Commit a04ff94097 ("prep: Add i82378 PCI-to-ISA bridge
emulation") aimed to model the 2 output IRQs: CPU intr
and NMI. Commit 5039d6e235 ("i8257: remove cpu_request_exit
irq") removed the NMI IRQ.
Since this model only use the CPU interrupt, replace the
'out[2]' array by a single 'cpu_intr'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-3-philmd@linaro.org>


  Commit: 0bbf7750e98a58ebbf7a3bb192443df1e68f69b1
      
https://github.com/qemu/qemu/commit/0bbf7750e98a58ebbf7a3bb192443df1e68f69b1
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/i82378.c

  Log Message:
  -----------
  hw/isa/i82378: Remove intermediate IRQ forwarder

When the i82378 model was added in commit a04ff940974 ("prep:
Add i82378 PCI-to-ISA bridge emulation") the i8259 model was
not yet QOM'ified. This happened later in commit 747c70af78f
("i8259: Convert to qdev").

Directly dispatch ISA IRQs to 'cpu_intr' output IRQ
by removing the intermediate i82378_request_out0_irq()
handler. Rename ISA IRQs array as 'isa_irqs_in' to
emphasize these are input IRQs.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-4-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: ced800749c666ef7a08f443750b80925bd60fd82
      
https://github.com/qemu/qemu/commit/ced800749c666ef7a08f443750b80925bd60fd82
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/vt82c686.c

  Log Message:
  -----------
  hw/isa/vt82c686: Remove intermediate IRQ forwarder

Directly dispatch ISA IRQs to 'cpu_intr' output IRQ
by removing the intermediate via_isa_request_i8259_irq()
handler. Rename ISA IRQs array as 'isa_irqs_in' to
emphasize these are input IRQs.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-5-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 992524df02396b6a1f6e21d1212a162dbbef0afa
      
https://github.com/qemu/qemu/commit/992524df02396b6a1f6e21d1212a162dbbef0afa
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/sparc64/sun4u.c

  Log Message:
  -----------
  hw/sparc64/sun4u: Keep reference to ISA input IRQs in EbusState

Keep reference to ISA input IRQs in EbusState.

To emphasize input/output distinction, rename arrays
as isa_irqs_in / isa_irqs_out.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-7-philmd@linaro.org>


  Commit: 260ff3859057c48f5f83db396e89efecd9c6a337
      
https://github.com/qemu/qemu/commit/260ff3859057c48f5f83db396e89efecd9c6a337
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/isa-bus.c
    M hw/rtc/m48t59-isa.c
    M include/hw/isa/i8259_internal.h
    M include/hw/isa/isa.h
    M include/hw/isa/superio.h
    M include/hw/timer/i8254_internal.h

  Log Message:
  -----------
  hw/isa: Remove empty ISADeviceClass structure

ISADeviceClass is an empty class and just increase code
complexity. Remove it, directly embedding DeviceClass in
classes expanding TYPE_ISA_DEVICE.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20230215161641.32663-19-philmd@linaro.org>


  Commit: 7fe27702cb2deb16cd172fd68923be6081c0a067
      
https://github.com/qemu/qemu/commit/7fe27702cb2deb16cd172fd68923be6081c0a067
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/isa/isa.h

  Log Message:
  -----------
  hw/isa: Reorder to separate ISABus* vs ISADevice* functions

Separate functions taking an ISABus* argument versus
functions taking a ISADevice* one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-8-philmd@linaro.org>


  Commit: 384e349a2333a58eff519f4167c7962989bd63d5
      
https://github.com/qemu/qemu/commit/384e349a2333a58eff519f4167c7962989bd63d5
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/isa-bus.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  hw/isa: Un-inline isa_bus_from_device()

No point in inlining isa_bus_from_device() which is only
used at device realization time.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230210163744.32182-9-philmd@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>


  Commit: 419c0f3c3e33a078dc3dc3485a76dc0529d18cb4
      
https://github.com/qemu/qemu/commit/419c0f3c3e33a078dc3dc3485a76dc0529d18cb4
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/hppa/machine.c
    M hw/i386/microvm.c
    M hw/i386/pc_piix.c
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/isa/lpc_ich9.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/mips/jazz.c
    M hw/ppc/pnv_lpc.c
    M hw/sparc64/sun4u.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  hw/isa: Rename isa_bus_irqs() -> isa_bus_register_input_irqs()

isa_bus_irqs() register an array of input IRQs on
the ISA bus. Rename it as isa_bus_register_input_irqs().

Mechanical change using:

 $ sed -i -e 's/isa_bus_irqs/isa_bus_register_input_irqs/g' \
   $(git grep -wl isa_bus_irqs)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-10-philmd@linaro.org>


  Commit: 29b90d83cc7f5943c6fcfde64fcb7ea47ca310c6
      
https://github.com/qemu/qemu/commit/29b90d83cc7f5943c6fcfde64fcb7ea47ca310c6
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/isa-bus.c

  Log Message:
  -----------
  hw/isa: Use isa_address_space_io() to reduce access on global 'isabus'

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230210163744.32182-11-philmd@linaro.org>


  Commit: d4077572afda8d9186b8ba26eedeb325b1cb9263
      
https://github.com/qemu/qemu/commit/d4077572afda8d9186b8ba26eedeb325b1cb9263
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/cs4231a.c
    M hw/audio/gus.c
    M hw/audio/sb16.c
    M hw/block/fdc-isa.c
    M hw/dma/i82374.c
    M hw/isa/isa-bus.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  hw/isa: Rename isa_get_dma() -> isa_bus_get_dma()

isa_get_dma() returns a DMA channel handler from an ISABus.
To emphasize this, rename it as isa_bus_get_dma().

Mechanical change using:

  $ sed -i -e 's/isa_get_dma/isa_bus_get_dma/g' \
        $(git grep -l isa_get_dma)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230215161641.32663-2-philmd@linaro.org>


  Commit: 5e505dbb0f8624aab02dff5cd5e53e3b143bba46
      
https://github.com/qemu/qemu/commit/5e505dbb0f8624aab02dff5cd5e53e3b143bba46
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/isa-bus.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  hw/isa: Factor isa_bus_get_irq() out of isa_get_irq()

isa_get_irq() was added in commit 3a38d437ca
("Add isa_reserve_irq()" Fri Aug 14 11:36:15 2009) as:

    a temporary interface to be used to allocate ISA IRQs for
    devices which have not yet been converted to qdev, and for
    special cases which are not suited for qdev conversions,
    such as the 'ferr'.

We still use it 14 years later, using the global 'isabus'
singleton. In order to get rid of such *temporary* interface,
extract isa_bus_get_irq() which can take any ISABus* object.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230215161641.32663-3-philmd@linaro.org>


  Commit: 186ea45274ca44503a5afc61bea39f112a0e1458
      
https://github.com/qemu/qemu/commit/186ea45274ca44503a5afc61bea39f112a0e1458
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/cs4231a.c
    M hw/audio/gus.c
    M hw/audio/sb16.c
    M hw/block/fdc-isa.c
    M include/hw/timer/i8254.h

  Log Message:
  -----------
  hw: Replace isa_get_irq() by isa_bus_get_irq() when ISABus is available

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230215161641.32663-4-philmd@linaro.org>


  Commit: 89769954e3379404c5ccb3f562298f3b2f42d280
      
https://github.com/qemu/qemu/commit/89769954e3379404c5ccb3f562298f3b2f42d280
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/rtc/mc146818rtc.c
    M include/hw/rtc/mc146818rtc.h

  Log Message:
  -----------
  hw/rtc/mc146818rtc: Rename RTCState -> MC146818RtcState

RTCState only represents a Motorola MC146818 model,
not any RTC chipset. Rename the structure as MC146818RtcState
using:

  $ sed -i -e s/RTCState/MC146818RtcState/g $(git grep -wl RTCState)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210233116.80311-2-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: a4d598de08ae37a2aa3b81250b509c73c7cd3d77
      
https://github.com/qemu/qemu/commit/a4d598de08ae37a2aa3b81250b509c73c7cd3d77
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/x86.c
    M hw/ppc/prep.c
    M hw/rtc/mc146818rtc.c
    M include/hw/rtc/mc146818rtc.h

  Log Message:
  -----------
  hw/rtc/mc146818rtc: Pass MC146818RtcState instead of ISADevice argument

rtc_get_memory() and rtc_set_memory() methods can not take any
TYPE_ISA_DEVICE object. They expect a TYPE_MC146818_RTC one.

Simplify the API by passing a MC146818RtcState.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210233116.80311-3-philmd@linaro.org>


  Commit: ebbdc5d4ba82f65f8401eed681d9b4002483bfe6
      
https://github.com/qemu/qemu/commit/ebbdc5d4ba82f65f8401eed681d9b4002483bfe6
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/x86.c
    M hw/ppc/prep.c
    M hw/rtc/mc146818rtc.c
    M include/hw/rtc/mc146818rtc.h

  Log Message:
  -----------
  hw/rtc: Rename rtc_[get|set]_memory -> mc146818rtc_[get|set]_cmos_data

rtc_get_memory() and rtc_set_memory() helpers only work with
TYPE_MC146818_RTC devices. 'memory' in their name refer to
the CMOS region. Rename them as mc146818rtc_get_cmos_data()
and mc146818rtc_set_cmos_data() to be explicit about what
they are doing.

Mechanical change doing:

  $ sed -i -e 's/rtc_set_memory/mc146818rtc_set_cmos_data/g' \
        $(git grep -wl rtc_set_memory)
  $ sed -i -e 's/rtc_get_memory/mc146818rtc_get_cmos_data/g' \
        $(git grep -wl rtc_get_memory)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210233116.80311-4-philmd@linaro.org>


  Commit: 8252bd0372f751bbff8c135d502b5a93c78014c8
      
https://github.com/qemu/qemu/commit/8252bd0372f751bbff8c135d502b5a93c78014c8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/timer/hpet.c

  Log Message:
  -----------
  hw/timer/hpet: Include missing 'hw/qdev-properties.h' header

Avoid when refactoring unrelated headers:

  hw/timer/hpet.c:776:39: error: array has incomplete element type 'Property' 
(aka 'struct Property')
  static Property hpet_device_properties[] = {
                                        ^
  hw/timer/hpet.c:777:5: error: implicit declaration of function 
'DEFINE_PROP_UINT8' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      DEFINE_PROP_UINT8("timers", HPETState, num_timers, HPET_MIN_TIMERS),
      ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230215174353.37097-2-philmd@linaro.org>


  Commit: 75a5a270130a1e49336cab8ea8c154dffe066d35
      
https://github.com/qemu/qemu/commit/75a5a270130a1e49336cab8ea8c154dffe066d35
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/hda-codec.c

  Log Message:
  -----------
  hw/audio/hda-codec: Avoid forward-declaring HDAAudioState

To avoid forward-declaring HDAAudioState, declare HDA_AUDIO QOM
definitions before its use in the HDAAudioStream structure.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220131837.26292-2-philmd@linaro.org>


  Commit: 5cffb1b7f19bc8f038a7766804b715b0a251dcd0
      
https://github.com/qemu/qemu/commit/5cffb1b7f19bc8f038a7766804b715b0a251dcd0
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/es1370.c

  Log Message:
  -----------
  hw/audio/es1370: Avoid forward-declaring ES1370State

To avoid forward-declaring ES1370State, declare ES1370 QOM
definitions before its use in the chan_bits structure.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220131837.26292-3-philmd@linaro.org>


  Commit: 8f4784dbe6c4f9f440b0618a83afb6278da73c20
      
https://github.com/qemu/qemu/commit/8f4784dbe6c4f9f440b0618a83afb6278da73c20
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/es1370.c

  Log Message:
  -----------
  hw/audio/es1370: Replace container_of() by ES1370() QOM cast macro

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220131837.26292-4-philmd@linaro.org>


  Commit: 84102a904bf77cc98f282976a195c605e6953622
      
https://github.com/qemu/qemu/commit/84102a904bf77cc98f282976a195c605e6953622
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/ac97.c

  Log Message:
  -----------
  hw/audio/ac97: Replace container_of() by AC97() QOM cast macro

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220131837.26292-5-philmd@linaro.org>


  Commit: fc707e6c80ae7a7098e9a7b6befbf142b2b58412
      
https://github.com/qemu/qemu/commit/fc707e6c80ae7a7098e9a7b6befbf142b2b58412
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/audio/ac97.c
    A hw/audio/ac97.h

  Log Message:
  -----------
  hw/audio/ac97: Split off some definitions to a header

These can be shared with other AC97 implementations.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: 
<6f0980fdc3753624be6f3935a6ab0a2dc1df4b30.1677445307.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: c6de899a2f968311a20df8493465a501a7e7aae7
      
https://github.com/qemu/qemu/commit/c6de899a2f968311a20df8493465a501a7e7aae7
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/dev-smartcard-reader.c

  Log Message:
  -----------
  hw/usb/dev-smartcard-reader: Avoid forward-declaring CCIDBus

To avoid forward-declaring CCIDBus, declare CCID_BUS QOM
definitions before its use in the USBCCIDState structure.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-2-philmd@linaro.org>


  Commit: 2cffe6137c876ce64d6bd704d7cadfbaeb3702f9
      
https://github.com/qemu/qemu/commit/2cffe6137c876ce64d6bd704d7cadfbaeb3702f9
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/u2f.h

  Log Message:
  -----------
  hw/usb/u2f: Declare QOM macros using OBJECT_DECLARE_TYPE()

hw/usb/u2f.h was added by commit 80e267f1d1 ("hw/usb: Add
U2F key base class"), almost the same time of the automatic
conversion done by commit c821774a3b ("Use OBJECT_DECLARE_TYPE
where posible"). Manually convert to OBJECT_DECLARE_TYPE().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-9-philmd@linaro.org>


  Commit: 7a203e61240f87a50038f4df7987f5c93925cdd6
      
https://github.com/qemu/qemu/commit/7a203e61240f87a50038f4df7987f5c93925cdd6
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.h

  Log Message:
  -----------
  hw/usb/ohci: Include missing 'sysbus.h' header

Avoid when including "hw/usb/hcd-ohci.h":

  hw/usb/hcd-ohci.h:100:5: error: unknown type name 'SysBusDevice'
      SysBusDevice parent_obj;
      ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230203113650.78146-6-philmd@linaro.org>


  Commit: 4a633a859ab552832eb0caf4378bcddf453bf5ae
      
https://github.com/qemu/qemu/commit/4a633a859ab552832eb0caf4378bcddf453bf5ae
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c
    M hw/usb/hcd-ohci.h

  Log Message:
  -----------
  hw/usb/ohci: Use OHCIState type definition

Forward-define the type first, then use it for the ohci_die() handler.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-3-philmd@linaro.org>


  Commit: 70f513188b32c8410390d7cadc34e8aad639366f
      
https://github.com/qemu/qemu/commit/70f513188b32c8410390d7cadc34e8aad639366f
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  hw/usb/ohci: Code style fix comments

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: 
<9b0aadedc7c4780fefdc27f14f72ac9003032fbf.1676916639.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 404e284a5140d5c8a2cf14e71b98413d60c6780d
      
https://github.com/qemu/qemu/commit/404e284a5140d5c8a2cf14e71b98413d60c6780d
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  hw/usb/ohci: Code style fix white space errors

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: 
<c9b99b3555dcd03194a8950b810f5e1b4b4bd5d3.1676916640.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 667627dc3c478b8a62ab2b5cf6c40c843d741889
      
https://github.com/qemu/qemu/commit/667627dc3c478b8a62ab2b5cf6c40c843d741889
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  hw/usb/ohci: Code style fix missing braces and extra parenthesis

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: 
<aaa3ddee99c7677d6cc137f637982e94267b99b6.1676916640.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 32285082af19e93786db6d390c96cf86b0d474c2
      
https://github.com/qemu/qemu/commit/32285082af19e93786db6d390c96cf86b0d474c2
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  hw/usb/ohci: Move a function next to where it is used

The ohci_port_set_if_connected() function is only used by
ohci_port_set_status(), move next to it to have them at the same place.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: 
<46411d4980ab0fba61ab0d2209a939fdc41eb573.1676916640.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 49ee68e18aa4e1a4908d0e76a56afee6d79feb94
      
https://github.com/qemu/qemu/commit/49ee68e18aa4e1a4908d0e76a56afee6d79feb94
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c
    M hw/usb/trace-events

  Log Message:
  -----------
  hw/usb/ohci: Add trace points for register access

To help debugging add trace points that print values read from or
written to the device's registers.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: 
<1bb4985e5dfc1df5a290e77f76fd827ae3592ab7.1676916640.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: de133b8e28bdbd6d9f11be56a882df0baef0ac0c
      
https://github.com/qemu/qemu/commit/de133b8e28bdbd6d9f11be56a882df0baef0ac0c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-ohci.c

  Log Message:
  -----------
  hw/usb/ohci: Fix typo

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: 
<03599fd4db313ac4f651cceb43340109ad6a14b8.1676916640.git.balaton@eik.bme.hu>


  Commit: b9929bf10e3d0485407cc1cb3a29225949d68e0c
      
https://github.com/qemu/qemu/commit/b9929bf10e3d0485407cc1cb3a29225949d68e0c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-uhci.c
    M hw/usb/hcd-uhci.h

  Log Message:
  -----------
  hw/usb/uhci: Declare QOM macros using OBJECT_DECLARE_TYPE()

The automatic conversion done during commit a489d1951c
("Use OBJECT_DECLARE_TYPE when possible") missed this
model because the typedefs are in a different file unit
(hcd-uhci.c) than where the DECLARE_INSTANCE_CHECKER()
is (hcd-uhci.h). Manually convert to OBJECT_DECLARE_TYPE().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-5-philmd@linaro.org>


  Commit: d1ea88b726bd24e0c499eeaf7f85fbc3f0db9541
      
https://github.com/qemu/qemu/commit/d1ea88b726bd24e0c499eeaf7f85fbc3f0db9541
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-uhci.c

  Log Message:
  -----------
  hw/usb/uhci: Replace container_of() by UHCI_GET_CLASS() QOM macro

By using the QOM UHCI_GET_CLASS() cast macro we don't to
use the intermediate PCIDeviceClass variable.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-6-philmd@linaro.org>


  Commit: 900a142fbd5b2feeb6885e47426e7cbe1e635f5e
      
https://github.com/qemu/qemu/commit/900a142fbd5b2feeb6885e47426e7cbe1e635f5e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-xhci-nec.c

  Log Message:
  -----------
  hw/usb/xhci-nec: Declare QOM macros for NEC_XHCI

NEC_XHCI is a QOM object type. Declare its macros /
typedefs using OBJECT_DECLARE_SIMPLE_TYPE().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-7-philmd@linaro.org>


  Commit: febf4a78efa457eed5751366a9014f9ba2b7d23b
      
https://github.com/qemu/qemu/commit/febf4a78efa457eed5751366a9014f9ba2b7d23b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/usb/hcd-xhci-nec.c

  Log Message:
  -----------
  hw/usb/xhci-nec: Replace container_of() by NEC_XHCI() QOM cast macro

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230220150515.32549-8-philmd@linaro.org>


  Commit: 4c99e50a0db40f512853ca31133e866633afaff0
      
https://github.com/qemu/qemu/commit/4c99e50a0db40f512853ca31133e866633afaff0
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  hw/display/sm501: Embed OHCI QOM child in chipset

Note this device doesn't implement unrealize().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20230203145536.17585-11-philmd@linaro.org>


  Commit: 1f54316b04374792a44a7138136401ffb3742204
      
https://github.com/qemu/qemu/commit/1f54316b04374792a44a7138136401ffb3742204
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/display/sm501.c
    M hw/sh4/r2d.c

  Log Message:
  -----------
  hw/display/sm501: Alias 'dma-offset' QOM property in chipset object

No need to use an intermediate 'dma-offset' property in the
chipset object. Alias the property, so when the machine (here
r2d-plus) sets the value on the chipset, it is propagated to
the OHCI object.

Note we can rename the chipset 'base' property as 'dma-offset'
since the object is a non-user-creatable sysbus type.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20230203145536.17585-12-philmd@linaro.org>


  Commit: 051c99ad9452fcf9a1f593ed63908ee2f54d5404
      
https://github.com/qemu/qemu/commit/051c99ad9452fcf9a1f593ed63908ee2f54d5404
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  hw/display/sm501: Implement more 2D raster operations

Add simple implementation for two raster operations that are used by
AmigaOS which fixes graphics problems in some programs using these.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reported-by: Rene Engel <ReneEngel80@emailn.de>
Tested-by: Rene Engel <ReneEngel80@emailn.de>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: 
<17ef3c59dc7868f75034e9ebe21e2999c8f718d4.1677445307.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 886fc0e675bd846e90f3f982fc4bd7cd33623cf5
      
https://github.com/qemu/qemu/commit/886fc0e675bd846e90f3f982fc4bd7cd33623cf5
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  hw/display/sm501: Add fallbacks to pixman routines

Pixman may return false if it does not have a suitable implementation.
Add fallbacks to handle such cases.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reported-by: Rene Engel <ReneEngel80@emailn.de>
Tested-by: Rene Engel <ReneEngel80@emailn.de>
Message-Id: 
<20ed9442a0146238254ccc340c0d1efa226c6356.1677445307.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 3e395b205cd74094d020636871468a0727de4cd5
      
https://github.com/qemu/qemu/commit/3e395b205cd74094d020636871468a0727de4cd5
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ppc/sam460ex.c

  Log Message:
  -----------
  hw/ppc/sam460ex: Correctly set MAL properties

MAL properties are declared as uint8_t:

  static Property ppc4xx_mal_properties[] = {
      DEFINE_PROP_UINT8("txc-num", Ppc4xxMalState, txcnum, 0),
      DEFINE_PROP_UINT8("rxc-num", Ppc4xxMalState, rxcnum, 0),
      DEFINE_PROP_END_OF_LIST(),
  };

Correct the API use by setting the property using
qdev_prop_set_uint8(). No behavioral change.

Fixes: da116a8aab ("ppc/ppc405: QOM'ify MAL")
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230203145536.17585-7-philmd@linaro.org>


  Commit: 42915b7548dee10a8e4ac04c2acd3b4b5a8cfa0a
      
https://github.com/qemu/qemu/commit/42915b7548dee10a8e4ac04c2acd3b4b5a8cfa0a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M block/vvfat.c

  Log Message:
  -----------
  block/vvfat: Remove pointless check of NDEBUG

Since commit 262a69f428 ("osdep.h: Prohibit disabling
assert() in supported builds") 'NDEBUG' can not be defined,
so '#ifndef NDEBUG' is dead code. Remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230221232520.14480-5-philmd@linaro.org>


  Commit: bf48bdaa4fab354a47bc772a2b857400674ea06f
      
https://github.com/qemu/qemu/commit/bf48bdaa4fab354a47bc772a2b857400674ea06f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch.pl: Do not allow assert(0)

Since commit 262a69f428 ("osdep.h: Prohibit disabling assert()
in supported builds") we can not build QEMU with NDEBUG (or
G_DISABLE_ASSERT) defined, thus 'assert(0)' always aborts QEMU.

However some static analyzers / compilers doesn't notice NDEBUG
can't be defined and emit warnings if code is used after an
'assert(0)' call.

Apparently such compiler isn't as clever with G_DISABLE_ASSERT,
so we can silent these warnings by using g_assert_not_reached()
which is easier to read anyway.

In order to avoid these annoying warnings, add a checkpatch rule
to prohibit 'assert(0)'. Suggest using g_assert_not_reached()
instead. For example when reverting the previous patch we get:

  ERROR: use g_assert_not_reached() instead of assert(0)
  #21: FILE: target/ppc/dfp_helper.c:124:
  +            assert(0); /* cannot get here */

  ERROR: use g_assert_not_reached() instead of assert(0)
  #30: FILE: target/ppc/dfp_helper.c:141:
  +            assert(0); /* cannot get here */

  total: 2 errors, 0 warnings, 16 lines checked

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230221232520.14480-3-philmd@linaro.org>


  Commit: 69ab9f6112d532c3f750ba91fd7591bb751a5b05
      
https://github.com/qemu/qemu/commit/69ab9f6112d532c3f750ba91fd7591bb751a5b05
  Author: John Snow <jsnow@redhat.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Mark IDE and Floppy as "Odd Fixes"

I have not been able to give these devices the love they need for a
while now. Update the maintainers file to reflect the truth of the
matter.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20230206182544.711117-1-jsnow@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 93dab6ca1f443a50a2dacf5acfe90a60147e8021
      
https://github.com/qemu/qemu/commit/93dab6ca1f443a50a2dacf5acfe90a60147e8021
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/xen/xen_platform.c

  Log Message:
  -----------
  hw/i386/xen: Remove unused 'hw/ide.h' include from header

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20230220092707.22584-1-philmd@linaro.org>


  Commit: 39b0740b8a38ab9556074686308b878fcdd71e46
      
https://github.com/qemu/qemu/commit/39b0740b8a38ab9556074686308b878fcdd71e46
  Author: Fiona Ebner <f.ebner@proxmox.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/trace-events

  Log Message:
  -----------
  hw/ide/ahci: Trace ncq write command as write instead of read

Fixes: e4baa9f00b ("AHCI: Replace DPRINTF with trace-events")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230217103130.42077-1-f.ebner@proxmox.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 1c5db238e0848a51eb76c02c4da3c51671ad13c0
      
https://github.com/qemu/qemu/commit/1c5db238e0848a51eb76c02c4da3c51671ad13c0
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/mmio.c

  Log Message:
  -----------
  hw/ide/mmio: Use CamelCase for MMIO_IDE state name

Following docs/devel/style.rst guidelines, rename MMIOIDEState
as IdeMmioState.

Having the structure name and its typedef named equally,
we can manually convert from the old DECLARE_INSTANCE_CHECKER()
macro to the more recent OBJECT_DECLARE_SIMPLE_TYPE().

Note, due to that name mismatch, this macro wasn't automatically
converted during commit 8063396bf3 ("Use OBJECT_DECLARE_SIMPLE_TYPE
when possible").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230220091358.17038-3-philmd@linaro.org>


  Commit: c13daca6e2a3468da84cc954c123b7cfa11e8379
      
https://github.com/qemu/qemu/commit/c13daca6e2a3468da84cc954c123b7cfa11e8379
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/mmio.c
    M hw/sh4/r2d.c
    M include/hw/ide.h
    A include/hw/ide/mmio.h

  Log Message:
  -----------
  hw/ide/mmio: Extract TYPE_MMIO_IDE declarations to 'hw/ide/mmio.h'

"hw/ide.h" is a mixed bag of lost IDE declarations.

Extract mmio_ide_init_drives() and the TYPE_MMIO_IDE QOM
declarations to a new "hw/ide/mmio.h" header.

Document the SysBus interface.

Message-Id: <20230215112712.23110-4-philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 473fe2ab8c263220aa00e667ca291d87c635988f
      
https://github.com/qemu/qemu/commit/473fe2ab8c263220aa00e667ca291d87c635988f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/ide/isa.c
    M include/hw/ide.h
    A include/hw/ide/isa.h

  Log Message:
  -----------
  hw/ide/isa: Extract TYPE_ISA_IDE declarations to 'hw/ide/isa.h'

"hw/ide.h" is a mixed bag of lost IDE declarations.

Extract isa_ide_init() and the TYPE_ISA_IDE QOM declarations
to a new "hw/ide/isa.h" header.

Rename ISAIDEState::isairq as 'irqnum' to emphasize this is
not a qemu_irq object but the number (index) of an ISA IRQ.

Message-Id: <20230215112712.23110-5-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: b6ca7242ad17b59fb9abe6a37483ad5d0f999b5c
      
https://github.com/qemu/qemu/commit/b6ca7242ad17b59fb9abe6a37483ad5d0f999b5c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/isa.c

  Log Message:
  -----------
  hw/ide/isa: Remove intermediate ISAIDEState::irq variable

The intermediate ISAIDEState::irq variable just add noise, remove it.

Message-Id: <20230215112712.23110-6-philmd@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: dd9dc49928e6f72a586f6696f7edc115578cf230
      
https://github.com/qemu/qemu/commit/dd9dc49928e6f72a586f6696f7edc115578cf230
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/atapi.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide/atapi: Restrict 'scsi/constants.h' inclusion

Only atapi.c requires the SCSI constants. No need to include
it in all files including "hw/ide/internal.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-7-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


  Commit: cb6f269160e59e211d700afd39c11ae80538e9b0
      
https://github.com/qemu/qemu/commit/cb6f269160e59e211d700afd39c11ae80538e9b0
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Remove unused 'qapi/qapi-types-run-state.h'

Missed in commit d7458e7754 ("hw/ide/internal: Remove unused
DMARestartFunc typedef") which removed the single use of RunState.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-8-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


  Commit: d0c750cce1572e04d588b3d2e962bd2d853769bd
      
https://github.com/qemu/qemu/commit/d0c750cce1572e04d588b3d2e962bd2d853769bd
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Include 'exec/ioport.h' instead of 'hw/isa/isa.h'

The IDEBus structure has PortioList fields, so we need its
declarations from "exec/ioport.h". "hw/isa/isa.h" is not required.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-9-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


  Commit: 17116ecebd74e641979799ad6efeda1b33128228
      
https://github.com/qemu/qemu/commit/17116ecebd74e641979799ad6efeda1b33128228
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/core.c
    M hw/ide/ich.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/pci.c
    M hw/misc/macio/gpio.c
    M hw/sparc64/sun4u.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Un-inline ide_set_irq()

Only include "hw/irq.h" where appropriate.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-10-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f816788c797ef7446a1bd3cdd0fa389b5b273762
      
https://github.com/qemu/qemu/commit/f816788c797ef7446a1bd3cdd0fa389b5b273762
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/atapi.c
    M hw/ide/core.c
    M hw/ide/macio.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Rename ide_set_irq() -> ide_bus_set_irq()

ide_set_irq() operates on a IDEBus; rename it as
ide_bus_set_irq() to emphasize its first argument
is a IDEBus.

Mechanical change using:

  $ sed -i -e 's/ide_set_irq/ide_bus_set_irq/g' \
        $(git grep -l ide_set_irq)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-11-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e530032432ae6404ab8d572981f3ea6e2ca7b2b7
      
https://github.com/qemu/qemu/commit/e530032432ae6404ab8d572981f3ea6e2ca7b2b7
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/arm/sbsa-ref.c
    M hw/ide/ahci.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/pci.c
    M hw/ide/qdev.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Rename ide_create_drive() -> ide_bus_create_drive()

ide_create_drive() operates on a IDEBus; rename it as
ide_bus_create_drive() to emphasize its first argument
is a IDEBus.

Mechanical change using:

  $ sed -i -e 's/ide_create_drive/ide_bus_create_drive/g' \
        $(git grep -wl ide_create_drive)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-12-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6591a01a49d5883c6e22a8c5b952d0ed14d9d30f
      
https://github.com/qemu/qemu/commit/6591a01a49d5883c6e22a8c5b952d0ed14d9d30f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/isa.c
    M hw/ide/piix.c
    M hw/ide/sii3112.c
    M hw/ide/via.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Rename ide_register_restart_cb -> ide_bus_register_restart_cb

ide_register_restart_cb() operates on a IDEBus; rename it as
ide_bus_register_restart_cb() to emphasize its first argument
is a IDEBus.

Mechanical change using:

  $ sed -i -e 's/ide_register_restart_cb/ide_bus_register_restart_cb/g' \
    $(git grep -l ide_register_restart_cb)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-13-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 36b868144a2dc77434d4ef730d66121f3faedc9b
      
https://github.com/qemu/qemu/commit/36b868144a2dc77434d4ef730d66121f3faedc9b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/core.c
    M hw/ide/trace-events
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Rename ide_exec_cmd() -> ide_bus_exec_cmd()

ide_exec_cmd() operates on a IDEBus; rename it as
ide_bus_exec_cmd() to emphasize its first argument
is a IDEBus.

Mechanical change using:

  $ sed -i -e 's/ide_exec_cmd/ide_bus_exec_cmd/g' \
        $(git grep -wl ide_exec_cmd)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-14-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5444d34ac5d75589842db7ed6323b930dd1d1d95
      
https://github.com/qemu/qemu/commit/5444d34ac5d75589842db7ed6323b930dd1d1d95
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/piix.c
    M hw/ide/sii3112.c
    M hw/ide/via.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Rename ide_init2() -> ide_bus_init_output_irq()

ide_init2() initializes a IDEBus, and set its output IRQ.
To emphasize this, rename it as ide_bus_init_output_irq().

Mechanical change using:

  $ sed -i -e 's/ide_init2/ide_bus_init_output_irq/g' \
        $(git grep -l ide_init2)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-15-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8bd5a572858a6a3c7b9f434248a481fcf42d3df8
      
https://github.com/qemu/qemu/commit/8bd5a572858a6a3c7b9f434248a481fcf42d3df8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/core.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/pci.c
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Rename idebus_active_if() -> ide_bus_active_if()

idebus_active_if() operates on a IDEBus; rename it as
ide_bus_active_if() to emphasize its first argument
is a IDEBus.

Mechanical change using:

  $ sed -i -e 's/idebus_active_if/ide_bus_active_if/g' \
        $(git grep -l idebus_active_if)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-16-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 31ed1d3440c4223ecc079b5e9fa60404dc61eb08
      
https://github.com/qemu/qemu/commit/31ed1d3440c4223ecc079b5e9fa60404dc61eb08
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/i386/pc.c
    M include/hw/ide.h
    M include/hw/ide/internal.h

  Log Message:
  -----------
  hw/ide: Declare ide_get_[geometry/bios_chs_trans] in 'hw/ide/internal.h'

ide_get_geometry() and ide_get_bios_chs_trans() are only
used by the TYPE_PC_MACHINE.
"hw/ide.h" is a mixed bag of lost IDE declarations. In order
to remove this (almost) pointless header soon, move these
declarations to "hw/ide/internal.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230220091358.17038-18-philmd@linaro.org>


  Commit: 476eb16a96c5940e7b056c80ebb56bee22b72d2b
      
https://github.com/qemu/qemu/commit/476eb16a96c5940e7b056c80ebb56bee22b72d2b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/ioport.c

  Log Message:
  -----------
  hw/ide/ioport: Remove unnecessary includes

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-17-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a973115b6f0e471f8d72f21c7dccf31f289a27ce
      
https://github.com/qemu/qemu/commit/a973115b6f0e471f8d72f21c7dccf31f289a27ce
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/pci.c
    M include/hw/ide/pci.h

  Log Message:
  -----------
  hw/ide/pci: Unexport bmdma_active_if()

The function is only used inside ide/pci.c, so doesn't need to be exported.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-18-philmd@linaro.org>


  Commit: bb4b5736b779a1d590de73c9ff6cf898ff00547f
      
https://github.com/qemu/qemu/commit/bb4b5736b779a1d590de73c9ff6cf898ff00547f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/piix.c

  Log Message:
  -----------
  hw/ide/piix: Remove unused includes

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-19-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 32580edf8c18aa947be10ec909990be899bb0bbc
      
https://github.com/qemu/qemu/commit/32580edf8c18aa947be10ec909990be899bb0bbc
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/piix.c

  Log Message:
  -----------
  hw/ide/piix: Pass Error* to pci_piix_init_ports() for better error msg

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-20-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 96bdea94fe80c2a2d462ce6eede5719382c53847
      
https://github.com/qemu/qemu/commit/96bdea94fe80c2a2d462ce6eede5719382c53847
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/piix.c

  Log Message:
  -----------
  hw/ide/piix: Refactor pci_piix_init_ports as pci_piix_init_bus per bus

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-21-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 12f25cba65f32b67177ffe3952965ad683718729
      
https://github.com/qemu/qemu/commit/12f25cba65f32b67177ffe3952965ad683718729
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M hw/ide/via.c

  Log Message:
  -----------
  hw/ide/via: Replace magic 2 value by ARRAY_SIZE / MAX_IDE_DEVS

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20210511041848.2743312-5-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: a6731fa32cd66637f1b212f0a9c4a80ff3edb776
      
https://github.com/qemu/qemu/commit/a6731fa32cd66637f1b212f0a9c4a80ff3edb776
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M include/hw/ide/pci.h

  Log Message:
  -----------
  hw/ide/pci: Add PCIIDEState::isa_irq[]

These legacy ISA IRQs allow the PIIX IDE functions to be wired up in
their south bridges and the VIA IDE functions to disuse
PCI_INTERRUPT_LINE as outlined in 
https://lists.nongnu.org/archive/html/qemu-devel/2020-03/msg01707.html

Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230126211740.66874-7-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 1fa9176905c4c23aa793ab0ba53a092b9a01c210
      
https://github.com/qemu/qemu/commit/1fa9176905c4c23aa793ab0ba53a092b9a01c210
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M dump/dump.c

  Log Message:
  -----------
  dump: Replace tswapN() -> cpu_to_dumpN()

All uses of tswap in that file are wrong, and should be using
cpu_to_dumpN, which correctly tests the endianness of the output.

Reported-by: Richard Henderson <richard.henderson@linaro.org>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-2-philmd@linaro.org>


  Commit: 25cf1d65c4b6f9d03b468f0f1f185c9ef10a705b
      
https://github.com/qemu/qemu/commit/25cf1d65c4b6f9d03b468f0f1f185c9ef10a705b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M dump/dump.c

  Log Message:
  -----------
  dump: Replace TARGET_PAGE_SIZE -> qemu_target_page_size()

TARGET_PAGE_SIZE is target specific. In preparation of
making dump.c target-agnostic, replace the compile-time
TARGET_PAGE_SIZE definition by runtime qemu_target_page_size().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-3-philmd@linaro.org>


  Commit: 72e3e59151073a5833a22b348729476633d7a723
      
https://github.com/qemu/qemu/commit/72e3e59151073a5833a22b348729476633d7a723
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M dump/dump-hmp-cmds.c
    M dump/dump.c
    M dump/win_dump.c
    M dump/win_dump.h

  Log Message:
  -----------
  dump: Clean included headers

"qemu/win_dump_defs.h" is only required by win_dump.c,
but win_dump.h requires "sysemu/dump.h" which declares
the DumpState type. Remove various unused headers.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-4-philmd@linaro.org>


  Commit: 5d0436c426d50cf6fcc80188f4add8c5dfce5c1c
      
https://github.com/qemu/qemu/commit/5d0436c426d50cf6fcc80188f4add8c5dfce5c1c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M dump/dump.c
    M dump/meson.build
    M dump/win_dump.c
    M dump/win_dump.h

  Log Message:
  -----------
  dump: Simplify compiling win_dump.o by introducing win_dump_available()

To make dump.c less target dependent, move the TARGET_X86_64 #ifdef'ry
from dump.c to win_dump.c (introducing a win_dump_available() method
there). By doing so we can build win_dump.c on any target, and
simplify the meson rule.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-5-philmd@linaro.org>


  Commit: 28d0663eee6fe470ee6cce4ff6c6fbf11e9df0c3
      
https://github.com/qemu/qemu/commit/28d0663eee6fe470ee6cce4ff6c6fbf11e9df0c3
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M dump/dump.c
    M dump/meson.build
    M dump/win_dump.c

  Log Message:
  -----------
  dump: Add create_win_dump() stub for non-x86 targets

Implement the non-x86 create_win_dump(). We can remove
the last TARGET_X86_64 #ifdef'ry in dump.c, which thus
becomes target-independent. Update meson accordingly.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-6-philmd@linaro.org>


  Commit: 79fbbf323ce0b2608eca53f85f5e02b8c4b73b90
      
https://github.com/qemu/qemu/commit/79fbbf323ce0b2608eca53f85f5e02b8c4b73b90
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: user friendly characters for release mouse

While mouse is grabbed, window title contains a hint for the user what
keyboard keys to press to release the mouse. Make that hint text a bit
more user friendly for a Mac user:

 - Replace "Ctrl" and "Alt" by appropriate symbols for those keyboard
   keys typically displayed for them on a Mac (encode those symbols by
   using UTF-8 characters).

 - Drop " + " in between the keys, as that's not common on macOS for
   documenting keyboard shortcuts.

 - Convert lower case "g" to upper case "G", as that's common on macOS.

 - Add one additional space at start and end of key stroke set, to
   visually separate the key strokes from the rest of the text.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <E1pAClj-0003Jo-OB@lizzy.crudebyte.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 4eb9c69716c9e0c2bf8cb3270e059b3ab64c9cee
      
https://github.com/qemu/qemu/commit/4eb9c69716c9e0c2bf8cb3270e059b3ab64c9cee
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M MAINTAINERS
    M accel/kvm/kvm-all.c
    M accel/kvm/kvm-cpus.h
    M accel/tcg/cpu-exec.c
    R accel/tcg/hmp.c
    M accel/tcg/internal.h
    M accel/tcg/meson.build
    A accel/tcg/monitor.c
    M accel/tcg/tcg-accel-ops.c
    M accel/tcg/tcg-all.c
    M accel/tcg/translate-all.c
    M accel/tcg/translator.c
    M accel/tcg/user-exec-stub.c
    M accel/xen/xen-all.c
    M block/vvfat.c
    M cpu.c
    M cpus-common.c
    M dump/dump-hmp-cmds.c
    M dump/dump.c
    M dump/meson.build
    M dump/win_dump.c
    M dump/win_dump.h
    M gdbstub/gdbstub.c
    M gdbstub/internals.h
    M gdbstub/softmmu.c
    M gdbstub/user.c
    M hw/acpi/ich9.c
    M hw/acpi/ich9_tco.c
    M hw/arm/sbsa-ref.c
    M hw/audio/ac97.c
    A hw/audio/ac97.h
    M hw/audio/cs4231a.c
    M hw/audio/es1370.c
    M hw/audio/gus.c
    M hw/audio/hda-codec.c
    M hw/audio/sb16.c
    M hw/block/fdc-isa.c
    M hw/core/ptimer.c
    M hw/core/qdev.c
    M hw/display/sm501.c
    M hw/dma/i82374.c
    M hw/hppa/machine.c
    M hw/i2c/smbus_ich9.c
    M hw/i386/acpi-build.c
    M hw/i386/kvm/ioapic.c
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/x86.c
    M hw/i386/xen/xen_platform.c
    M hw/ide/ahci.c
    M hw/ide/atapi.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/ich.c
    M hw/ide/ioport.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/pci.c
    M hw/ide/piix.c
    M hw/ide/qdev.c
    M hw/ide/sii3112.c
    M hw/ide/trace-events
    M hw/ide/via.c
    M hw/intc/apic.c
    M hw/intc/i8259.c
    M hw/intc/ioapic.c
    M hw/intc/ioapic_common.c
    A hw/intc/ioapic_internal.h
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/isa/lpc_ich9.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/mips/jazz.c
    M hw/misc/macio/gpio.c
    M hw/nubus/nubus-device.c
    M hw/pci-bridge/i82801b11.c
    M hw/pci/pci.c
    M hw/ppc/pnv_lpc.c
    M hw/ppc/prep.c
    M hw/ppc/sam460ex.c
    M hw/rtc/m48t59-isa.c
    M hw/rtc/mc146818rtc.c
    M hw/sh4/r2d.c
    M hw/sparc64/sun4u.c
    M hw/timer/hpet.c
    M hw/usb/dev-smartcard-reader.c
    M hw/usb/hcd-ohci.c
    M hw/usb/hcd-ohci.h
    M hw/usb/hcd-uhci.c
    M hw/usb/hcd-uhci.h
    M hw/usb/hcd-xhci-nec.c
    M hw/usb/trace-events
    M hw/usb/u2f.h
    M include/exec/gen-icount.h
    A include/exec/replay-core.h
    M include/hw/acpi/ich9.h
    M include/hw/core/cpu.h
    R include/hw/i386/ich9.h
    R include/hw/i386/ioapic.h
    R include/hw/i386/ioapic_internal.h
    M include/hw/i386/x86.h
    M include/hw/ide.h
    M include/hw/ide/internal.h
    A include/hw/ide/isa.h
    A include/hw/ide/mmio.h
    M include/hw/ide/pci.h
    M include/hw/intc/i8259.h
    A include/hw/intc/ioapic.h
    M include/hw/isa/i8259_internal.h
    M include/hw/isa/isa.h
    M include/hw/isa/superio.h
    M include/hw/qdev-core.h
    M include/hw/rtc/mc146818rtc.h
    A include/hw/southbridge/ich9.h
    M include/hw/timer/i8254.h
    M include/hw/timer/i8254_internal.h
    M include/qemu/typedefs.h
    M include/sysemu/accel-ops.h
    M include/sysemu/cpus.h
    M include/sysemu/kvm.h
    M include/sysemu/replay.h
    M meson.build
    M qom/object_interfaces.c
    M scripts/checkpatch.pl
    M softmmu/meson.build
    M softmmu/physmem.c
    M softmmu/vl.c
    A softmmu/watchpoint.c
    M stubs/replay.c
    R target/alpha/STATUS
    M target/alpha/cpu.h
    M target/arm/cpu.h
    M target/arm/internals.h
    M target/cris/cpu.h
    M target/hppa/cpu.h
    A target/hppa/fpu_helper.c
    M target/hppa/meson.build
    M target/hppa/op_helper.c
    A target/hppa/sys_helper.c
    M target/i386/cpu-dump.c
    M target/i386/cpu.h
    M target/i386/hax/hax-i386.h
    M target/i386/hvf/hvf-i386.h
    M target/i386/whpx/whpx-all.c
    M target/loongarch/cpu.h
    M target/m68k/cpu.h
    M target/microblaze/cpu.h
    M target/nios2/cpu.h
    M target/openrisc/cpu.h
    M target/ppc/cpu.h
    M target/ppc/dfp_helper.c
    M target/ppc/internal.h
    M target/ppc/kvm.c
    M target/riscv/cpu.h
    M target/rx/cpu.h
    M target/rx/helper.c
    M target/sh4/cpu.h
    M target/sparc/cpu.h
    M target/sparc/mmu_helper.c
    M target/tricore/cpu.h
    M target/xtensa/cpu.c
    M target/xtensa/cpu.h
    M tcg/tcg-common.c
    M tcg/tcg-op-gvec.c
    M tcg/tcg.c
    M tests/qtest/tco-test.c
    M tests/unit/meson.build
    M tests/unit/ptimer-test-stubs.c
    M trace/meson.build
    M ui/cocoa.m
    M util/guest-random.c

  Log Message:
  -----------
  Merge tag 'buildsys-qom-qdev-ui-20230227' of https://github.com/philmd/qemu 
into staging

- buildsys
  - Various header cleaned up (removing pointless headers)
  - Mark various files/code user/system specific
  - Make various objects target-independent
  - Remove tswapN() calls from dump.o
  - Suggest g_assert_not_reached() instead of assert(0)

- qdev / qom
  - Replace various container_of() by QOM cast macros
  - Declare some QOM macros using OBJECT_DECLARE_TYPE()
  - Embed OHCI QOM child in SM501 chipset

- hw (ISA & IDE)
  - add some documentation, improve function names
  - un-inline, open-code few functions
  - have ISA API accessing IRQ/DMA prefer ISABus over ISADevice
  - Demote IDE subsystem maintenance to "Odd Fixes"

- ui: Improve Ctrl+Alt hint on Darwin Cocoa

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmP8tpIACgkQ4+MsLN6t
# wN4D9A/+Kyojclhw19CJoRhqx1yorQOpik5vH3tb1+szQs52fr3tMNhbdNNPCPV7
# rcCyMgGR8CArh4aEgjB5I0WMa0UI2WV5Bvx33/iLQIzzR1pTtBYrFSxCMQDDn0Nx
# 7MrYD1bc1upQXzHQhTT1cCt6XBpdouv91pgh1kfb89khDOTMIiynQ7uyXQV2nxV+
# dIAe+TfMRCGn3bJxaMRIsjslIebfRUC4T1EMxAWqvPYMtCgTBJtGMzkGKOzvgRzV
# lpCUJqCzym4Ai2KHwyLIdBzbOSJ67O7LGq8CIoVXUqED1+kWrubbB9X+3+lfUKel
# BByg07EeicXY5qK8oosjrLpdg3wxqbpeqyB7y7y0AszC/3TLwFlQUEidOw3zhCG1
# 20/AStLnMW69Y2er/4Oq1H4StX722uLWksoLrH4HrnWLXEFKZ4VJHWvlrrTE/ObW
# nCTn8BF5IhLyuLwbAypU3dpbq4+M9VDxOvU6I+AA+aaTBhf6yiKqATCcuEaTk1x0
# IatL2TV42tDvvmMJOUdjd8czy4DH8bJyOL+S5EoMtTGoiQ1FIclDDLyZB0Y0oTL3
# 213QQr7NdUqEbQgciC+PHS+Vm2veROcZorB386NQtQVgrYSjEIzRJ65YHEZGTKzF
# jQGCb0iU0BkyppwS3J2hLrzgLFNtLnxemS0RcBQEIofY5A26x2g=
# =26vp
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 27 Feb 2023 13:56:34 GMT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" 
[unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'buildsys-qom-qdev-ui-20230227' of https://github.com/philmd/qemu: (126 
commits)
  ui/cocoa: user friendly characters for release mouse
  dump: Add create_win_dump() stub for non-x86 targets
  dump: Simplify compiling win_dump.o by introducing win_dump_available()
  dump: Clean included headers
  dump: Replace TARGET_PAGE_SIZE -> qemu_target_page_size()
  dump: Replace tswapN() -> cpu_to_dumpN()
  hw/ide/pci: Add PCIIDEState::isa_irq[]
  hw/ide/via: Replace magic 2 value by ARRAY_SIZE / MAX_IDE_DEVS
  hw/ide/piix: Refactor pci_piix_init_ports as pci_piix_init_bus per bus
  hw/ide/piix: Pass Error* to pci_piix_init_ports() for better error msg
  hw/ide/piix: Remove unused includes
  hw/ide/pci: Unexport bmdma_active_if()
  hw/ide/ioport: Remove unnecessary includes
  hw/ide: Declare ide_get_[geometry/bios_chs_trans] in 'hw/ide/internal.h'
  hw/ide: Rename idebus_active_if() -> ide_bus_active_if()
  hw/ide: Rename ide_init2() -> ide_bus_init_output_irq()
  hw/ide: Rename ide_exec_cmd() -> ide_bus_exec_cmd()
  hw/ide: Rename ide_register_restart_cb -> ide_bus_register_restart_cb
  hw/ide: Rename ide_create_drive() -> ide_bus_create_drive()
  hw/ide: Rename ide_set_irq() -> ide_bus_set_irq()
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/e1f9f73ba15e...4eb9c69716c9



reply via email to

[Prev in Thread] Current Thread [Next in Thread]