Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: ef586b5ad5f1d1a4f64a6ba7880dfcb1844c182a
      
https://github.com/qemu/qemu/commit/ef586b5ad5f1d1a4f64a6ba7880dfcb1844c182a
  Author: Paolo Bonzini <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M hw/block/xen-block.c

  Log Message:
  -----------
  xen-block: remove NULL pointer dereference

If params is NULL, xen_block_drive_create calls xen_block_drive_destroy
with drive == NULL.

Reported-by: Siteshwar Vashisht <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 4878c3a43abef0a04ac95dec282aaf347efd529b
      
https://github.com/qemu/qemu/commit/4878c3a43abef0a04ac95dec282aaf347efd529b
  Author: Paolo Bonzini <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M util/qemu-coroutine-lock.c

  Log Message:
  -----------
  qemu-coroutine-lock: fix has_waiters()

has_waiters() is testing a reversed condition.  The logic is that
has_waiters() must return true if a qemu_co_mutex_lock_slowpath()
happened:

  qemu_co_mutex_unlock            qemu_co_mutex_lock_slowpath
  -------------------------       -------------------------------
  set handoff                     push to from_push
  memory barrier                  memory barrier
  check has_waiters()             check handoff

which requires it to return true if from_push (or to_pop from a previous
call) are *not* empty.

This was unlikely to cause trouble because it can only happen when the
same CoMutex is used across multiple threads, but it is nevertheless
completely wrong.  The bug would show up as either a NULL-pointer
dereference inside qemu_co_mutex_lock_slowpath(), or a missed wait in
qemu_co_mutex_unlock().

Reported-by: Siteshwar Vashisht <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 2d9b12962f8806456ea240df2f000c1a65af3a0b
      
https://github.com/qemu/qemu/commit/2d9b12962f8806456ea240df2f000c1a65af3a0b
  Author: Pierrick Bouvier <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/i386/hvf/hvf.c

  Log Message:
  -----------
  target/i386/hvf/hvf.c: fix compilation

../target/i386/hvf/hvf.c:476:31: error: use of undeclared identifier 'cpu'
  476 |     X86CPU *x86_cpu = X86_CPU(cpu);
      |                               ^
../target/i386/hvf/hvf.c:479:24: error: use of undeclared identifier 'cpu'
  479 |     env->cr[0] = rvmcs(cpu->accel->fd, VMCS_GUEST_CR0);
      |                        ^
../target/i386/hvf/hvf.c:480:24: error: use of undeclared identifier 'cpu'
  480 |     env->cr[3] = rvmcs(cpu->accel->fd, VMCS_GUEST_CR3);
      |                        ^
../target/i386/hvf/hvf.c:481:23: error: use of undeclared identifier 'cpu'
  481 |     env->cr[2] = rreg(cpu->accel->fd, HV_X86_CR2);
      |                       ^
../target/i386/hvf/hvf.c:486:31: error: use of undeclared identifier 'cpu'
  486 |     X86CPU *x86_cpu = X86_CPU(cpu);
      |                               ^
../target/i386/hvf/hvf.c:489:11: error: use of undeclared identifier 'cpu'
  489 |     wvmcs(cpu->accel->fd, VMCS_GUEST_CR0, env->cr[0]);
      |           ^
../target/i386/hvf/hvf.c:490:11: error: use of undeclared identifier 'cpu'
  490 |     wvmcs(cpu->accel->fd, VMCS_GUEST_CR3, env->cr[3]);
      |           ^
7 errors generated.

Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 336a4c6539b67c0cbd3679c4848c27d0a0aa38f3
      
https://github.com/qemu/qemu/commit/336a4c6539b67c0cbd3679c4848c27d0a0aa38f3
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/arm/hvf_arm.h

  Log Message:
  -----------
  hvf: arm: unbreak the x86 build

We don't really have any great choices here, so use the __aarch64__ define to 
unbreak the x86 build.

Once the CI moves away from macOS 15.1 SDK to... 15.2 even we can get rid of 
these SME stubs horrible hacks.

Signed-off-by: Mohamed Mediouni <[email protected]
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 89b624a9f72194d1cf4412fa25ec7f1d84014b73
      
https://github.com/qemu/qemu/commit/89b624a9f72194d1cf4412fa25ec7f1d84014b73
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  whpx: i386: do not enable nested virt when kernel-irqchip=off

This combination is not allowed as of build 26300.7939 and results in:

qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005
qemu-system-x86_64.exe: failed to initialize whpx: Invalid argument

Signed-off-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: cb02fc22845a24fc9e7fc317ba511c64b140ac8e
      
https://github.com/qemu/qemu/commit/cb02fc22845a24fc9e7fc317ba511c64b140ac8e
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/i386/emulate/x86_mmu.c

  Log Message:
  -----------
  target/i386: emulate: LA57 fix

Seen on a Sapphire Rapids box with LA57.

The top level of the pte array is taken for CR3, so there was
one entry too little for 5-level paging.

Signed-off-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: c3b1cce623a89c0f154f377f6e1eea4dfa2fb898
      
https://github.com/qemu/qemu/commit/c3b1cce623a89c0f154f377f6e1eea4dfa2fb898
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  whpx: i386: enable some more enlightenments

Signed-off-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: ae9dcd6f26542080096d0e7081ae76c61e3ff9c6
      
https://github.com/qemu/qemu/commit/ae9dcd6f26542080096d0e7081ae76c61e3ff9c6
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M accel/whpx/whpx-common.c
    M include/system/whpx-internal.h
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  whpx: make Hyper-V enlightenments configurable

Have them be a machine option instead of a CPU one, to have something 
available, even if not ideal...

The existing Hyper-V enlightenments configuration mechanism is part of per-CPU 
configuration, which happens too late for this.

Signed-off-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: bb7e0a342636f68c53ed0d096acd9e4350fab205
      
https://github.com/qemu/qemu/commit/bb7e0a342636f68c53ed0d096acd9e4350fab205
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/arm/whpx/whpx-all.c

  Log Message:
  -----------
  whpx: arm64: enable enlightenments if asked for

Signed-off-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 6ef6a0f04e5ea10e5c9aa31de939e5dcdfe4a58f
      
https://github.com/qemu/qemu/commit/6ef6a0f04e5ea10e5c9aa31de939e5dcdfe4a58f
  Author: Mohamed Mediouni <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M target/i386/whpx/whpx-all.c

  Log Message:
  -----------
  whpx: i386: remove SIPI trapping

The implementation in Hyper-V works fine and the code
currently present doesn't handle x2APIC correctly anyway, so
remove it and use the implementation in Hyper-V.

Signed-off-by: Mohamed Mediouni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 4c2c89630c499876974ca77d13f86e57d8454e7b
      
https://github.com/qemu/qemu/commit/4c2c89630c499876974ca77d13f86e57d8454e7b
  Author: John Snow <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M python/Makefile
    M python/tests/minreqs.txt

  Log Message:
  -----------
  python: pin 'wheel' version in minreqs test

With recent python packaging ecosystem updates, the latest 'wheel' is no
longer compatible with older packages - and was somehow still compatible
with our Python 3.9 environment. Pin wheel to an older version (Version
based on Debian 11's available wheel package) to remove warnings during
the minreqs test.

Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: John Snow <[email protected]>


  Commit: d5c6eef38ede2c79fcb92a015fa3c48c435740c7
      
https://github.com/qemu/qemu/commit/d5c6eef38ede2c79fcb92a015fa3c48c435740c7
  Author: John Snow <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M python/Makefile
    M python/setup.cfg
    A python/tests/linters.py
    M python/tests/minreqs.txt

  Log Message:
  -----------
  python: replace avocado tests with pytest

Following suit with the rest of this repository, drop avocado and
replace it with the Python standard "pytest" package.

Our ultimate goal is to merge these python tests with the meson test
suite, so the use of 'pytest' here is only a stop-gap solution to get
the GitLab CI 'check-python-tox' passing again following recent Python
packaging ecosystem changes.

Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
[ran black autoformatter. --js]
Signed-off-by: John Snow <[email protected]>


  Commit: d4ae1c7072615b3acece26b548ff1925c5e5e2ed
      
https://github.com/qemu/qemu/commit/d4ae1c7072615b3acece26b548ff1925c5e5e2ed
  Author: John Snow <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M python/README.rst
    R python/avocado.cfg
    M python/setup.cfg
    R python/tests/flake8.sh
    R python/tests/iotests-mypy.sh
    R python/tests/iotests-pylint.sh
    R python/tests/isort.sh
    M python/tests/minreqs.txt
    R python/tests/mypy.sh
    R python/tests/pylint.sh
    R python/tests/qapi-flake8.sh
    R python/tests/qapi-isort.sh
    R python/tests/qapi-mypy.sh
    R python/tests/qapi-pylint.sh

  Log Message:
  -----------
  python: drop avocado

Avocado-framework is no longer used for anything, so it can be removed.

Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: John Snow <[email protected]>


  Commit: 191d4ceb40f8c80ae402a365a41300dcf1344125
      
https://github.com/qemu/qemu/commit/191d4ceb40f8c80ae402a365a41300dcf1344125
  Author: John Snow <[email protected]>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M configure
    M python/setup.cfg

  Log Message:
  -----------
  python: add formal python3.14 support and testing

Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: John Snow <[email protected]>


  Commit: be7f1c297ce82b3f3e3f98518dcc5e7ae7af5af0
      
https://github.com/qemu/qemu/commit/be7f1c297ce82b3f3e3f98518dcc5e7ae7af5af0
  Author: Peter Maydell <[email protected]>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M accel/whpx/whpx-common.c
    M hw/block/xen-block.c
    M include/system/whpx-internal.h
    M target/arm/hvf_arm.h
    M target/arm/whpx/whpx-all.c
    M target/i386/emulate/x86_mmu.c
    M target/i386/hvf/hvf.c
    M target/i386/whpx/whpx-all.c
    M util/qemu-coroutine-lock.c

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

* hvf/x86: compilation fixes
* whpx: fixes
* xen-block: fix possible NULL pointer dereference
* coroutine-lock: fix thinko

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmmugQwUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroOOpQf/euE88TGF71S3kW4ckqCN4hLlvpl8
# 7wHjj83ggzufJikx5UI1lw31UuqyZYDX5ICQnvNeVEvBqCpi8oo9SJMBIwXJxn45
# 3oolIy+TJ7/k+QjZ1kMLPubnbH7p5h/iix+IkU01gFS0F0S12LgiJcLpBsSkKZHK
# 5AK53dKBAEikPP+IIT8Y4RrzNOZrydZzaXAtU4eCi3YVxf7/Ld1w9nRGvfG07Zd6
# Y0TptxjfMzbhxLuKetaHrAEI8EYYsmLAE3uJaDMSZ6heCXtfwQjkOaFjaqE/OYOK
# NhtIFArkq+tneI3sqDEoIdMngkL6SEowi1uDAOc5vKmtb2JcWzNo9PsXJw==
# =3X24
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Mar  9 08:13:00 2026 GMT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Paolo Bonzini <[email protected]>" [full]
# gpg:                 aka "Paolo Bonzini <[email protected]>" [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:
  whpx: i386: remove SIPI trapping
  whpx: arm64: enable enlightenments if asked for
  whpx: make Hyper-V enlightenments configurable
  whpx: i386: enable some more enlightenments
  target/i386: emulate: LA57 fix
  whpx: i386: do not enable nested virt when kernel-irqchip=off
  hvf: arm: unbreak the x86 build
  target/i386/hvf/hvf.c: fix compilation
  qemu-coroutine-lock: fix has_waiters()
  xen-block: remove NULL pointer dereference

Signed-off-by: Peter Maydell <[email protected]>


  Commit: 63ec1f769490d8371fd03220eaede91cc7dd7c80
      
https://github.com/qemu/qemu/commit/63ec1f769490d8371fd03220eaede91cc7dd7c80
  Author: Peter Maydell <[email protected]>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M configure
    M python/Makefile
    M python/README.rst
    R python/avocado.cfg
    M python/setup.cfg
    R python/tests/flake8.sh
    R python/tests/iotests-mypy.sh
    R python/tests/iotests-pylint.sh
    R python/tests/isort.sh
    A python/tests/linters.py
    M python/tests/minreqs.txt
    R python/tests/mypy.sh
    R python/tests/pylint.sh
    R python/tests/qapi-flake8.sh
    R python/tests/qapi-isort.sh
    R python/tests/qapi-mypy.sh
    R python/tests/qapi-pylint.sh

  Log Message:
  -----------
  Merge tag 'python-pull-request' of https://gitlab.com/jsnow/qemu into staging

Python pullreq

Drop avocado, support Python3.14. Fixes optional check-python-tox GitLab
CI test.

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEE+ber27ys35W+dsvQfe+BBqr8OQ4FAmmvC+sACgkQfe+BBqr8
# OQ7jpA//X6N9Jql+GthF7H51lHvF5parKCP1rum16H9e0JSi+Q5fGjqk6QURGBup
# QkKEYG01gwMrH0RozufPRbSkcV8Tx0/qVZPG/cXr6sd2eNAZK6eWhf5ndMiU84+P
# XWiKxYx7EqEMpdHH8m47oI1ZW0l3KddRHDLDw/m7IeHp57yj3aFsvtCFzw1Gjzgr
# HKA2iSB1gQZj0Co3SqcYvNPcbiEhcDxjHl9FdhJVWn+t5vgNRmche5U3x5w41VXr
# RrWqEcvIj1DhEN6JQud7EJq1HfFb3woj6B1Rv8DXDOZJWsnZqXbh79v9a3riM+LN
# poYvjdGVnTLOCHy3mBLIf7Iimbk405qOq38ooq1eRbEYIg8J6khCFdPdTN6iCpuK
# NgaOTTtaXG1fNLLJlRQaTLe2vxKlTSR+X50z4TvSMB9IdJHmlQEE4NHzVBgGLJ9N
# rIS5TxB48mp12hzjDpp5l0vBXifNhkSwuqaCADAp5ei8m92sQlNpYsMWUNPzyLVt
# B24/axpbhn8b8QIf4Kraz2wFjUL5AZFWFYdncmG0FCsx/hbZfnMhmm0OvoBbrxtM
# +riMNiu1d6UZuOtailyDP4BIm1yzRlvFlSxNNKj7e3tTsQmxbJgc0Fbj8XQ1jvxs
# W0Sc9Gq+W4+Gj4hMdLrMfA/1Fqmv+/nSkmN4HRaDDNm4z4PwFgk=
# =D7N4
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Mar  9 18:05:31 2026 GMT
# gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <[email protected]>" [full]
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* tag 'python-pull-request' of https://gitlab.com/jsnow/qemu:
  python: add formal python3.14 support and testing
  python: drop avocado
  python: replace avocado tests with pytest
  python: pin 'wheel' version in minreqs test

Signed-off-by: Peter Maydell <[email protected]>


Compare: https://github.com/qemu/qemu/compare/31ee190665dd...63ec1f769490

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to