Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 27535e9ccae89db5856bfb5e3357f44645812143 https://github.com/qemu/qemu/commit/27535e9ccae89db5856bfb5e3357f44645812143 Author: Xin Wang <wangxinxin.w...@huawei.com> Date: 2025-08-20 (Wed, 20 Aug 2025)
Changed paths: M target/i386/machine.c Log Message: ----------- target/i386: Add support for save/load of exception error code For now, qemu save/load CPU exception info(such as exception_nr and has_error_code), while the exception error_code is ignored. This will cause the dest hypervisor reinject a vCPU exception with error_code(0), potentially causing a guest kernel panic. For instance, if src VM stopped with an user-mode write #PF (error_code 6), the dest hypervisor will reinject an #PF with error_code(0) when vCPU resume, then guest kernel panic as: BUG: unable to handle page fault for address: 00007f80319cb010 #PF: supervisor read access in user mode #PF: error_code(0x0000) - not-present page RIP: 0033:0x40115d To fix it, support save/load exception error_code. Signed-off-by: Xin Wang <wangxinxin.w...@huawei.com> Link: https://lore.kernel.org/r/20250819145834.3998-1-wangxinxin.w...@huawei.com Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: a9292b24c35ca40da5bc4b2fd7fcf898b08dcce9 https://github.com/qemu/qemu/commit/a9292b24c35ca40da5bc4b2fd7fcf898b08dcce9 Author: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Date: 2025-08-20 (Wed, 20 Aug 2025) Changed paths: M scripts/minikconf.py Log Message: ----------- scripts/minikconf.py: fix invalid attribute access Fix parse method to use `defconfig` global variable instead of the non-existent KconfigParser class attribute Fixes: f349474920d80838ecea3d421531fdb0660b8740 ("minikconfig: implement allnoconfig and defconfig modes") Signed-off-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Link: https://lore.kernel.org/r/20250820-scripts-minikconf-fixes-v1-1-252041a91...@linaro.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: d84082cc1a7a7cac361094fc9b3165df7c697a01 https://github.com/qemu/qemu/commit/d84082cc1a7a7cac361094fc9b3165df7c697a01 Author: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Date: 2025-08-20 (Wed, 20 Aug 2025) Changed paths: M scripts/minikconf.py Log Message: ----------- scripts/minikconf.py: s/Error/KconfigParserError Error is not defined in this script, raise KconfigParserError instead. Fixes: 82f5181777ebe04b550fd94a1d04c49dd3f012dc ("kconfig: introduce kconfig files") Signed-off-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Link: https://lore.kernel.org/r/20250820-scripts-minikconf-fixes-v1-2-252041a91...@linaro.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: ab85146ac4c6527d6d975afbd3157488cb42147f https://github.com/qemu/qemu/commit/ab85146ac4c6527d6d975afbd3157488cb42147f Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2025-08-22 (Fri, 22 Aug 2025) Changed paths: M python/scripts/mkvenv.py Log Message: ----------- python: mkvenv: fix messages printed by mkvenv The new Matcher class does not have a __str__ implementation, and therefore it prints the debugging representation of the internal object: $ ../configure --enable-rust && make qemu-system-arm --enable-download python determined to be '/usr/bin/python3' python version: Python 3.13.6 mkvenv: Creating non-isolated virtual environment at 'pyvenv' mkvenv: checking for LegacyMatcher('meson>=1.5.0') mkvenv: checking for LegacyMatcher('pycotap>=1.1.0') Add the method to print the nicer mkvenv: checking for meson>=1.5.0 mkvenv: checking for pycotap>=1.1.0 Cc: qemu-sta...@nongnu.org Cc: John Snow <js...@redhat.com> Reviewed-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 6f8924163ff1fb4bd19e0cd9dc7910bb540486f3 https://github.com/qemu/qemu/commit/6f8924163ff1fb4bd19e0cd9dc7910bb540486f3 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2025-08-22 (Fri, 22 Aug 2025) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: add a few more files to "Top Level Makefile and configure" A few files in scripts, and the list of packages in pythondeps.toml, are strictly related to the toplevel build scripts. Add them to the MAINTAINERS file stanza. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: a7542a38f399c50337e10aadd60513a400c45013 https://github.com/qemu/qemu/commit/a7542a38f399c50337e10aadd60513a400c45013 Author: Xiaoyao Li <xiaoyao...@intel.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M hw/i386/x86-common.c Log Message: ----------- x86/loader: Don't update kernel header for CoCo VMs Update the header makes it different from the original kernel that user provides via "-kernel", which leads to a different hash and breaks the attestation, e.g., for TDX. We already skip it for SEV VMs. Instead of adding another check of is_tdx_vm() to cover the TDX case, check machine->cgs to cover all the confidential computing case for x86. Reported-by: Vikrant Garg <vikrant1g...@gmail.com> Signed-off-by: Xiaoyao Li <xiaoyao...@intel.com> Link: https://lore.kernel.org/r/20250814092111.2353598-1-xiaoyao...@intel.com Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: c12cbaa007c9da97a11e74119ea3aed9fcc3ac4c https://github.com/qemu/qemu/commit/c12cbaa007c9da97a11e74119ea3aed9fcc3ac4c Author: Zero Tang <zero.tang...@gmail.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M target/i386/tcg/system/svm_helper.c Log Message: ----------- i386/tcg/svm: fix incorrect canonicalization For all 32-bit systems and 64-bit Windows systems, "long" is 4 bytes long. Due to using "long" for a linear address, svm_canonicalization would set all high bits to 1 when (assuming 48-bit linear address) the segment base is bigger than 0x7FFF. This fixes booting guests under TCG when the guest IDT and GDT bases are above 0x7FFF, thereby resulting in incorrect bases. When an interrupt arrives, it would trigger a #PF exception; the #PF would trigger again, resulting in a #DF exception; the #PF would trigger for the third time, resulting in triple-fault, and eventually causes a shutdown VM-Exit to the hypervisor right after guest boot. Cc: qemu-sta...@nongnu.org Signed-off-by: Zero Tang <zero.tang...@gmail.com> Commit: 8e98961f6eb691b59ff0230ee22917061bfae5f8 https://github.com/qemu/qemu/commit/8e98961f6eb691b59ff0230ee22917061bfae5f8 Author: Ani Sinha <anisi...@redhat.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M accel/kvm/kvm-all.c M include/system/kvm.h Log Message: ----------- kvm/kvm-all: make kvm_park/unpark_vcpu local to kvm-all.c kvm_park_vcpu() and kvm_unpark_vcpu() is only used in kvm-all.c. Declare it static, remove it from common header file and make it local to kvm-all.c Signed-off-by: Ani Sinha <anisi...@redhat.com> Reviewed-by: Igor Mammedov <imamm...@redhat.com> Reviewed-by: Zhao Liu <zhao1....@intel.com> Link: https://lore.kernel.org/r/20250815065445.8978-1-anisi...@redhat.com Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: db62680edd04c78eada3cf67f27d8825e08feb9a https://github.com/qemu/qemu/commit/db62680edd04c78eada3cf67f27d8825e08feb9a Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M rust/Cargo.toml Log Message: ----------- rust: disable borrow_as_ptr warning This is pretty noisy, but it was not visible until now because it only shows up if the rust-version has "&raw const". Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 2102780c5523c240c66ba52ea1629353a7518072 https://github.com/qemu/qemu/commit/2102780c5523c240c66ba52ea1629353a7518072 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M rust/qemu-api-macros/src/tests.rs Log Message: ----------- rust: qemu-api-macros: support matching more than one error Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 9a6d6ae8afb18e18eacb94e105722c08e84fe9fd https://github.com/qemu/qemu/commit/9a6d6ae8afb18e18eacb94e105722c08e84fe9fd Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M rust/Cargo.lock M subprojects/packagefiles/proc-macro2-1-rs/meson.build M subprojects/packagefiles/syn-2-rs/meson.build M subprojects/proc-macro2-1-rs.wrap M subprojects/syn-2-rs.wrap Log Message: ----------- subprojects: update proc-macro2 and syn syn 2.0.69 adds Punctuated::get(). The serde and attrs crate also need a newer version. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 96f2c80fed20790fec0b35b774af676d5068077b https://github.com/qemu/qemu/commit/96f2c80fed20790fec0b35b774af676d5068077b Author: Marc-André Lureau <marcandre.lur...@redhat.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M rust/qemu-api-macros/src/lib.rs Log Message: ----------- rust/qemu-api-macros: make derive(Object) friendly when missing parent Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> Link: https://lore.kernel.org/r/20250826133132.4064478-5-marcandre.lur...@redhat.com Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 4344b358a8dd62591db0b7b98328511fadffca85 https://github.com/qemu/qemu/commit/4344b358a8dd62591db0b7b98328511fadffca85 Author: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M rust/qemu-api-macros/src/lib.rs M rust/qemu-api/src/lib.rs Log Message: ----------- rust: declare self as qemu_api for proc-macros Fix an outstanding TODO. Declaring `extern crate self as qemu_api` allows use of `qemu_api` within the qemu_api crate; this allows the Wrapper derive macro and future proc macros to be used interchangeably in the qemu_api crate and other crates. This is not required currently and is only for future-proofing. Signed-off-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Link: https://lore.kernel.org/r/20250728-self-as-qemu_api-v1-1-001c339cc...@linaro.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: 92dedaf169ddcf8c81fa6d21c86c60f3b82458e5 https://github.com/qemu/qemu/commit/92dedaf169ddcf8c81fa6d21c86c60f3b82458e5 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2025-08-27 (Wed, 27 Aug 2025) Changed paths: M rust/Cargo.toml M rust/qemu-api/Cargo.toml Log Message: ----------- rust: move dependencies to rust/Cargo.toml As more crates start using the same dependencies, it's better to not repeat the versions and move the dependency declarations to the workspace. Reviewed-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> Reviewed-by: Zhao Liu <zhao1....@intel.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Commit: d35b9e4eae5eb147e2b665d74a5052f7a17db959 https://github.com/qemu/qemu/commit/d35b9e4eae5eb147e2b665d74a5052f7a17db959 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2025-08-28 (Thu, 28 Aug 2025) Changed paths: M MAINTAINERS M accel/kvm/kvm-all.c M hw/i386/x86-common.c M include/system/kvm.h M python/scripts/mkvenv.py M rust/Cargo.lock M rust/Cargo.toml M rust/qemu-api-macros/src/lib.rs M rust/qemu-api-macros/src/tests.rs M rust/qemu-api/Cargo.toml M rust/qemu-api/src/lib.rs M scripts/minikconf.py M subprojects/packagefiles/proc-macro2-1-rs/meson.build M subprojects/packagefiles/syn-2-rs/meson.build M subprojects/proc-macro2-1-rs.wrap M subprojects/syn-2-rs.wrap M target/i386/machine.c M target/i386/tcg/system/svm_helper.c Log Message: ----------- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * rust: declare self as qemu_api for proc-macros * rust/qemu-api-macros: make derive(Object) friendly when missing parent * x86/loader: Don't update kernel header for CoCo VMs * target/i386: Add support for save/load of exception error code * i386/tcg/svm: fix incorrect canonicalization * scripts/minikconf.py: small fixes # -----BEGIN PGP SIGNATURE----- # # iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmivPVYUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNi/wf/VvAfmXDNgiffoXl91cF8kx2zSs8L # D+pd/ufVEkFYsU1EnHUsGJKK0XrjHp/beCGkWZr9nTP448n1t5MiTYgI9z5Lkult # hwBQMZsxbOLw4BItbh9obWC5HrfHqgpy88hsfy+RfiSU31ae4drzottDm3/VbaFY # 2d0x9ai8lvaTk+GqBV8EeeCT210tS/Cb/8HC22o+vC2O2/cztnuCj6wtD43ocDEk # lhT00edP8jUX4EoPAx18Qkv/zzPL/p9jWVAFCcE/IZ/e4LSrgA61aUyoP9vvrjWh # U+f8C4MV2o8oZ1lM9FC5hJ0LdQbeq1kxqqukQIKYlRiFXjD3LZ+3wJueHQ== # =XEsN # -----END PGP SIGNATURE----- # gpg: Signature made Thu 28 Aug 2025 03:16:06 AM AEST # gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg: issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini <bonz...@gnu.org>" [unknown] # gpg: aka "Paolo Bonzini <pbonz...@redhat.com>" [unknown] # gpg: WARNING: The key's User ID is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: rust: move dependencies to rust/Cargo.toml rust: declare self as qemu_api for proc-macros rust/qemu-api-macros: make derive(Object) friendly when missing parent subprojects: update proc-macro2 and syn rust: qemu-api-macros: support matching more than one error rust: disable borrow_as_ptr warning kvm/kvm-all: make kvm_park/unpark_vcpu local to kvm-all.c i386/tcg/svm: fix incorrect canonicalization x86/loader: Don't update kernel header for CoCo VMs MAINTAINERS: add a few more files to "Top Level Makefile and configure" python: mkvenv: fix messages printed by mkvenv scripts/minikconf.py: s/Error/KconfigParserError scripts/minikconf.py: fix invalid attribute access target/i386: Add support for save/load of exception error code Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Compare: https://github.com/qemu/qemu/compare/5fc03d4e2825...d35b9e4eae5e To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications