Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: a78a91feeea66270badd87c65a7236e90baa5984 https://github.com/qemu/qemu/commit/a78a91feeea66270badd87c65a7236e90baa5984 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths: M hw/i386/monitor.c M qapi/meson.build A qapi/misc-i386.json M qapi/misc-target.json M qapi/qapi-schema.json M stubs/meson.build A stubs/monitor-i386-rtc.c Log Message: ----------- qapi: expose rtc-reset-reinjection command unconditionally This removes the TARGET_I386 condition from the rtc-reset-reinjection command. This requires providing a QMP command stub for non-i386 target. This in turn requires moving the command out of misc-target.json, since that will trigger symbol poisoning errors when built from target independent code. Rather than putting the command into misc.json, it is proposed to create misc-$TARGET.json files to hold commands whose impl is conceptually only applicable to a single target. This gives an obvious docs hint to consumers that the command is only useful in relation a specific target, while misc.json is for commands applicable to 2 or more targets. The current impl of qmp_rtc_reset_reinject() is a no-op if the i386 RTC is disabled in Kconfig, or if the running machine type lack any RTC device. The stub impl for non-i386 targets retains this no-op behaviour. However, it is now reporting an Error mentioning this command is not available for current target. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-2-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: 9215d072d2da3054b74080227a6a3e0a2daf44d2 https://github.com/qemu/qemu/commit/9215d072d2da3054b74080227a6a3e0a2daf44d2 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/misc-target.json Log Message: ----------- qapi: expand docs for SEV commands This gives some more context about the behaviour of the commands in unsupported guest configuration or platform scenarios. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-3-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> [Tweak query-sev doc, turn error descriptions into Errors sections, delate a stray #, normalize whitespace, wrap lines] Commit: 7373759583650fff6f724c6c21d4234bf31b2af0 https://github.com/qemu/qemu/commit/7373759583650fff6f724c6c21d4234bf31b2af0 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/misc-i386.json M qapi/misc-target.json M stubs/meson.build A stubs/monitor-i386-sev.c M target/i386/sev-system-stub.c M target/i386/sev.c Log Message: ----------- qapi: make SEV commands unconditionally available This removes the TARGET_I386 condition from the SEV confidential virtualization commands, moving them to the recently introduced misc-i386.json QAPI file, given they are inherantly i386 specific commands. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-4-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: 30fbb258717d81c32f11a0e4b7218442a43c4856 https://github.com/qemu/qemu/commit/30fbb258717d81c32f11a0e4b7218442a43c4856 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/meson.build A qapi/misc-arm.json M qapi/misc-target.json M qapi/qapi-schema.json M stubs/meson.build A stubs/monitor-arm-gic.c M target/arm/arm-qmp-cmds.c Log Message: ----------- qapi: expose query-gic-capability command unconditionally This removes the TARGET_ARM condition from the query-gic-capability command. This requires providing a QMP command stub for non-ARM targets. This in turn requires moving the command out of misc-target.json, since that will trigger symbol poisoning errors when built from target independent code. Following the earlier precedent, this creates a misc-arm.json file to hold this ARM specific command. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-5-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: 28a6a99834cd126f80f426ac3fe00625f165ebea https://github.com/qemu/qemu/commit/28a6a99834cd126f80f426ac3fe00625f165ebea Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M hw/i386/sgx-stub.c M hw/i386/sgx.c M qapi/misc-i386.json M qapi/misc-target.json M stubs/meson.build A stubs/monitor-i386-sgx.c Log Message: ----------- qapi: make SGX commands unconditionally available This removes the TARGET_I386 condition from the SGX confidential virtualization commands, moving them to the recently introduced misc-i386.json QAPI file, given they are inherantly i386 specific commands. Observe a pre-existing bug that the "SGXEPCSection" struct lacked a TARGET_I386 condition, despite its only usage being behind a TARGET_I386 condition. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-6-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: 4b679a94c69db2526ddf77d4a0bd6b041b9fa133 https://github.com/qemu/qemu/commit/4b679a94c69db2526ddf77d4a0bd6b041b9fa133 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M hw/i386/kvm/xen-stubs.c M hw/i386/kvm/xen_evtchn.c M qapi/misc-i386.json M qapi/misc-target.json M stubs/meson.build A stubs/monitor-i386-xen.c Log Message: ----------- qapi: make Xen event commands unconditionally available This removes the TARGET_I386 condition from the Xen event channel commands, moving them to the recently introduced misc-i386.json QAPI file, given they are inherantly i386 specific commands. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Acked-by: David Woodhouse <d...@amazon.co.uk> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-7-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: 0a1f83c3fb63229a77e2d0c5f1fe5d7e09dbf3b7 https://github.com/qemu/qemu/commit/0a1f83c3fb63229a77e2d0c5f1fe5d7e09dbf3b7 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M hw/s390x/s390-skeys.c M qapi/meson.build R qapi/misc-target.json M qapi/qapi-schema.json M target/i386/monitor.c Log Message: ----------- qapi: remove the misc-target.json file This file is now empty and can thus be removed. Observe the pre-existing bug with s390-skeys.c and target/i386/monitor.c both including qapi-commands-misc-target.h despite not requiring it. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-8-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: 448553bb7c2a2fe518d7dc41c58a25d6d31831da https://github.com/qemu/qemu/commit/448553bb7c2a2fe518d7dc41c58a25d6d31831da Author: Philippe Mathieu-Daudé <phi...@linaro.org> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/machine-target.json Log Message: ----------- qapi: Make CpuModelExpansionInfo::deprecated-props optional and generic We'd like to have some unified QAPI schema. Having a structure field conditional to a target being built in is not very practical. While @deprecated-props is only used by s390x target, it is generic enough and could be used by other targets (assuming we expand CpuModelExpansionType enum values). Let's always include this field, regardless of the target, but make it optional. This is not a compatibility break only because the field remains present always on S390x. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-9-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: d6758495d888e0ef8175824dadcdeb85274c14f1 https://github.com/qemu/qemu/commit/d6758495d888e0ef8175824dadcdeb85274c14f1 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M MAINTAINERS M qapi/machine-target.json M qapi/machine.json M stubs/meson.build A stubs/monitor-cpu-s390x.c A stubs/monitor-cpu.c M target/arm/arm-qmp-cmds.c M target/i386/cpu-system.c M target/i386/cpu.c M target/loongarch/loongarch-qmp-cmds.c M target/mips/system/mips-qmp-cmds.c M target/ppc/ppc-qmp-cmds.c M target/riscv/riscv-qmp-cmds.c M target/s390x/cpu_models_system.c Log Message: ----------- qapi: make most CPU commands unconditionally available This removes the TARGET_* conditions from all the CPU commands that are conceptually target independent. Top level stubs are provided to cope with targets which do not currently implement all of the commands. Adjust the doc comments accordingly. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-10-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: f8d41d0511114edcde8c589ffc76887b3a2dc39b https://github.com/qemu/qemu/commit/f8d41d0511114edcde8c589ffc76887b3a2dc39b Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M hw/s390x/cpu-topology.c M include/hw/s390x/cpu-topology.h A qapi/machine-s390x.json R qapi/machine-target.json M qapi/meson.build M qapi/qapi-schema.json M stubs/meson.build A stubs/monitor-cpu-s390x-kvm.c M tests/qtest/qmp-cmd-test.c Log Message: ----------- qapi: make s390x specific CPU commands unconditionally available This removes the TARGET_S390X and CONFIG_KVM conditions from the CPU commands that are conceptually specific to s390x. Top level stubs are provided to cope with non-s390x targets, or builds without KVM. The removal of CONFIG_KVM is justified by the fact there is no conceptual difference between running 'qemu-system-s390x -accel tcg' on a build with and without KVM built-in, so apps only using TCG can't rely on the CONFIG_KVM in the schema. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-11-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: d9cbcbff811bafc0e0081a07ce47c9e8f3051e0c https://github.com/qemu/qemu/commit/d9cbcbff811bafc0e0081a07ce47c9e8f3051e0c Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/meson.build Log Message: ----------- qapi: remove qapi_specific_outputs from meson.build There is no more QAPI files that need to be compiled per target, so we can remove this. qapi_specific_outputs is now empty, so we can remove the associated logic in meson. Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-12-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: fdbb616f4dd55b4f3efd6cb56bf675046fb6e4f3 https://github.com/qemu/qemu/commit/fdbb616f4dd55b4f3efd6cb56bf675046fb6e4f3 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/meson.build Log Message: ----------- qapi: make all generated files common Monolithic files (qapi_nonmodule_outputs) can now be compiled just once, so we can remove qapi_util_outputs logic. This removes the need for any specific_ss file. Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-13-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> Commit: e1a80c3241631ee0e7a687a54f71407b6d3828b7 https://github.com/qemu/qemu/commit/e1a80c3241631ee0e7a687a54f71407b6d3828b7 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M qapi/audio.json M qapi/block.json M qapi/char.json M qapi/control.json M qapi/cryptodev.json M qapi/dump.json M qapi/machine.json M qapi/migration.json M qapi/misc-i386.json M qapi/misc.json M qapi/ui.json M qapi/virtio.json Log Message: ----------- qapi: use imperative style in documentation As requested by Markus: > We prefer imperative mood "Return" over "Returns". Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-ID: <20250522190542.588267-14-pierrick.bouv...@linaro.org> Reviewed-by: Markus Armbruster <arm...@redhat.com> [Change several more] Commit: d2e9b78162e31b1eaf20f3a4f563da82da56908d https://github.com/qemu/qemu/commit/d2e9b78162e31b1eaf20f3a4f563da82da56908d Author: Stefan Hajnoczi <stefa...@redhat.com> Date: 2025-05-29 (Thu, 29 May 2025) Changed paths: M MAINTAINERS M hw/i386/kvm/xen-stubs.c M hw/i386/kvm/xen_evtchn.c M hw/i386/monitor.c M hw/i386/sgx-stub.c M hw/i386/sgx.c M hw/s390x/cpu-topology.c M hw/s390x/s390-skeys.c M include/hw/s390x/cpu-topology.h M qapi/audio.json M qapi/block.json M qapi/char.json M qapi/control.json M qapi/cryptodev.json M qapi/dump.json A qapi/machine-s390x.json R qapi/machine-target.json M qapi/machine.json M qapi/meson.build M qapi/migration.json A qapi/misc-arm.json A qapi/misc-i386.json R qapi/misc-target.json M qapi/misc.json M qapi/qapi-schema.json M qapi/ui.json M qapi/virtio.json M stubs/meson.build A stubs/monitor-arm-gic.c A stubs/monitor-cpu-s390x-kvm.c A stubs/monitor-cpu-s390x.c A stubs/monitor-cpu.c A stubs/monitor-i386-rtc.c A stubs/monitor-i386-sev.c A stubs/monitor-i386-sgx.c A stubs/monitor-i386-xen.c M target/arm/arm-qmp-cmds.c M target/i386/cpu-system.c M target/i386/cpu.c M target/i386/monitor.c M target/i386/sev-system-stub.c M target/i386/sev.c M target/loongarch/loongarch-qmp-cmds.c M target/mips/system/mips-qmp-cmds.c M target/ppc/ppc-qmp-cmds.c M target/riscv/riscv-qmp-cmds.c M target/s390x/cpu_models_system.c M tests/qtest/qmp-cmd-test.c Log Message: ----------- Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging QAPI patches patches for 2025-05-28 # -----BEGIN PGP SIGNATURE----- # # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmg3UTYSHGFybWJydUBy # ZWRoYXQuY29tAAoJEDhwtADrkYZTz9cQALqbici35rI19BYR8XNTcIK1sS6iB9wx # 6vLLix7a+/vsmBXiHEfo6nnlTBsU1NVP+8Tvx8+6TRBUnjK+9YaPZHE8k6lGglWm # 5lbue7nUlzaF4TfTmqrsCeeYKvc8iwC5TUBHbsLNpf9IIvNHbRm4IrD4ySnur+mN # vTQWEvLkT9quh5KPaiZajlQulIpaFZjwREJ2U8LC6Tb+t0qtAGL6hc+etI49re6A # 2jJq29G+hSxK87FBFwgilh4Dl5DCDAe75Plp1Opy0wyowM06ilSATYBJ6SL4B3wg # RKQXmHiHZCxk+MLs3vhE65bhNmMLkf+xbY/jxSNs5Hisj4Snt7bLqWRaBAhkRZOz # ZCyGMI6lpJELo8VIEE2gB8m/kf6YAG4pfLdZkIZCuFyW2I6b3OQjOn5G0td6JtvX # a5ygtuzi8VIxA3FcODb/EMNAPOv6B4aHgW3IaiwLB2kgeiqR+yMIE6zqZZHrEGUl # A/S7an99vbHgSFPtJ37VaUEdDnb06b4ebIvNyBzrgtXO8ekHaXAjCh52UYkLFOJe # S0dBrENj6M1yJ8HPwqWgP25PdlBAbCGHCsaZScrv7j08Q7sNJbQz0mmrCi0V/djV # riZBVcODabQ9mveMc1KJplKwIg351YJk3XwHqMLKHw9srMl3z3YcZf6T3e/G3ScQ # rlqRDslZvvgd # =3NrB # -----END PGP SIGNATURE----- # gpg: Signature made Wed 28 May 2025 14:08:54 EDT # gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653 # gpg: issuer "arm...@redhat.com" # gpg: Good signature from "Markus Armbruster <arm...@redhat.com>" [full] # gpg: aka "Markus Armbruster <arm...@pond.sub.org>" [full] # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru: qapi: use imperative style in documentation qapi: make all generated files common qapi: remove qapi_specific_outputs from meson.build qapi: make s390x specific CPU commands unconditionally available qapi: make most CPU commands unconditionally available qapi: Make CpuModelExpansionInfo::deprecated-props optional and generic qapi: remove the misc-target.json file qapi: make Xen event commands unconditionally available qapi: make SGX commands unconditionally available qapi: expose query-gic-capability command unconditionally qapi: make SEV commands unconditionally available qapi: expand docs for SEV commands qapi: expose rtc-reset-reinjection command unconditionally Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Compare: https://github.com/qemu/qemu/compare/a5519f27a243...d2e9b78162e3 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications