Commit 3c46691f16 for qemu.org

commit 3c46691f163bc2c7bfad6f46e76efca179236e89
Merge: 007b29752e ba41e52541
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Wed Mar 25 19:36:04 2026 +0000

    Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

    * tests/functional: preserve PYTHONPATH entries
    * target/i386: show GMET feature
    * target/i386/emulate, whpx/i386: on-demand access to runtime state, MMU fixes
    * tdx: fix use-after-free in tdx_fetch_cpuid
    * treewide: replace qemu_hw_version() with QEMU_HW_VERSION
    * sb16: detect invalid migration stream

    # -----BEGIN PGP SIGNATURE-----
    #
    # iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmnEGeAUHHBib256aW5p
    # QHJlZGhhdC5jb20ACgkQv/vSX3jHroM8wgf/VuuB+yMlsgtDEG1jnAsQcg0gu+p6
    # gIBb87RFyZKdrs6ZOtSfgyfo1XRBiHYr/UYoTIkz0PaOb+Scpq5QPKUDceGqUgAm
    # g3GBtGxTN5tekQzcYFE4flIewsIFXNQh7Wgq4OWLMJqvBm3hoTEyaRMc6hS+F+S5
    # Lyd81VWeV5zmer/+PdMH/gpG5+p4a+Me/NsEsd1xhnckakPbiaWJ/o76BxIt6GLo
    # 3AwHuBr+l6wfg5OCv3WIz3y/HmeFuHnXYicvagoPVKgT1bH8zNeaRKeXVknl0rQn
    # 6ficJOa0AyDlI9UcUBG4ivQrmdeiWMaiB+Hx2Yd+KW3DRgg8wRdp7tvlSw==
    # =uGpa
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Wed Mar 25 17:22:40 2026 GMT
    # gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
    # gpg:                issuer "pbonzini@redhat.com"
    # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
    # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
    # 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:
      target/i386: emulate: follow priv_check_exempt
      target/i386: emulate: set PG_ERROR_W_MASK as expected
      target/i386: expose AMD GMET feature
      hw/audio/sb16: validate VMState fields in post_load
      whpx: i386: fast runtime state reads
      whpx: i386: fetch segments on-demand
      target/i386: emulate: segmentation rework
      whpx: i386: indirect access to CRs
      target/i386: emulate: indirect access to CRs
      whpx: i386: add implementation of new x86_emul_ops
      target/i386: emulate: add new callbacks
      whpx: i386: don't restore segment registers after MMIO handling
      whpx: i386: skip XCRs read for MMIO exits
      whpx: i386: skip TSC read for MMIO exits
      whpx: i386: enable exceptions VM exit only when needed
      whpx: i386: workaround for Windows 10 support
      treewide: replace qemu_hw_version() with QEMU_HW_VERSION
      tdx: fix use-after-free in tdx_fetch_cpuid
      tests/functional: preserve PYTHONPATH entries

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