Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: ac4ae6e14c80b2ac1659574720b4280ca3a84db3
https://github.com/qemu/qemu/commit/ac4ae6e14c80b2ac1659574720b4280ca3a84db3
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M system/cpus.c
Log Message:
-----------
cpus: Access CPUState::thread_kicked atomically
cpus_kick_thread() is called via cpu_exit() -> qemu_cpu_kick(),
and also via gdb_syscall_handling(). Access the CPUState field
using atomic accesses. See commit 8ac2ca02744 ("accel: use atomic
accesses for exit_request") for rationale.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Manos Pitsidianakis <[email protected]>
Message-Id: <[email protected]>
Commit: fe60091654bc90ec72aeee634a020fcb7cc028b4
https://github.com/qemu/qemu/commit/fe60091654bc90ec72aeee634a020fcb7cc028b4
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M accel/tcg/tcg-accel-ops-rr.c
Log Message:
-----------
accel/tcg: Use cpu_is_stopped() helper to access CPUState::stopped
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Commit: 7e25d39389c9212b91a350806cffc54d3c2e3f72
https://github.com/qemu/qemu/commit/7e25d39389c9212b91a350806cffc54d3c2e3f72
Author: Peter Xu <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M include/qemu/main-loop.h
M stubs/iothread-lock.c
M system/cpus.c
M util/qemu-thread-common.h
Log Message:
-----------
bql: Fix bql_locked status with condvar APIs
QEMU has a per-thread "bql_locked" variable stored in TLS section, showing
whether the current thread is holding the BQL lock.
It's a pretty handy variable. Function-wise, QEMU have codes trying to
conditionally take bql, relying on the var reflecting the locking status
(e.g. BQL_LOCK_GUARD), or in a GDB debugging session, we could also look at
the variable (in reality, co_tls_bql_locked), to see which thread is
currently holding the bql.
When using that as a debugging facility, sometimes we can observe multiple
threads holding bql at the same time. It's because QEMU's condvar APIs
bypassed the bql_*() API, hence they do not update bql_locked even if they
have released the mutex while waiting.
It can cause confusion if one does "thread apply all p co_tls_bql_locked"
and see multiple threads reporting true.
Fix this by moving the bql status updates into the mutex debug hooks. Now
the variable should always reflect the reality.
Signed-off-by: Peter Xu <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: aa90796986263434faa27d3dbae2c427ce4bf70e
https://github.com/qemu/qemu/commit/aa90796986263434faa27d3dbae2c427ce4bf70e
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M include/exec/cpu-common.h
M include/hw/core/cpu.h
Log Message:
-----------
exec/cpu: Declare cpu_memory_rw_debug() in 'hw/core/cpu.h' and document
cpu_memory_rw_debug() dispatches to CPUClass::memory_rw_debug(),
move its declaration closer to the CPU API. Document.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Message-Id: <[email protected]>
Commit: d5cbbdd53c43b73dfe3e3d7075636c91daa3fdd1
https://github.com/qemu/qemu/commit/d5cbbdd53c43b73dfe3e3d7075636c91daa3fdd1
Author: Alex Bennée <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M include/qemu/timer.h
M tests/unit/test-aio-multithread.c
M util/main-loop.c
M util/qemu-timer.c
Log Message:
-----------
timers: properly prefix init_clocks()
Otherwise we run the risk of name clashing, for example with
stm32l4x5_usart-test.c should we shuffle the includes.
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 94ca9dd60aac37ef15821f167bfab8f5204c6f28
https://github.com/qemu/qemu/commit/94ca9dd60aac37ef15821f167bfab8f5204c6f28
Author: Vladimir Sementsov-Ogievskiy <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M util/hexdump.c
Log Message:
-----------
util/hexdump: fix QEMU_HEXDUMP_LINE_WIDTH logic
QEMU_HEXDUMP_LINE_WIDTH calculation doesn't correspond to
qemu_hexdump_line(). This leads to last line of the dump (when
length is not multiply of 16) has badly aligned ASCII part.
Let's calculate length the same way.
Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 9b0923657dc8ef68319894b017853f58ab070962
https://github.com/qemu/qemu/commit/9b0923657dc8ef68319894b017853f58ab070962
Author: Vladimir Sementsov-Ogievskiy <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M tests/unit/test-cutils.c
Log Message:
-----------
tests/unit: add unit test for qemu_hexdump()
Test, that fix in previous commit make sense.
Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
[PMD: Wrap long lines]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 9d01b8efc6e9621166791417f7688383f54e829f
https://github.com/qemu/qemu/commit/9d01b8efc6e9621166791417f7688383f54e829f
Author: Igor Mammedov <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M target/rx/helper.c
Log Message:
-----------
rx: cpu: fix interrupts check in rx_cpu_do_interrupt()
Commit 87511341c30 broke interrupt handling, replacing interrupts
fetch with a bool and then the remaining code attempting to check
individual bits on that bool value, which effectively masked those
interrupts.
Fix it by checking individual interrupt bits directly instead of
old 'fetch then check' approach.
Fixes: 87511341c30d ("add cpu_test_interrupt()/cpu_set_interrupt() helpers and
use them tree wide")
Reported-by: Thomas Huth <[email protected]>
Signed-off-by: Igor Mammedov <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Thomas Huth <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-ID: <[email protected]>
[PMD: Rebased on commit dde21df2393 "call plugin trap callbacks"]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 451e7b7aa74b9bc365afe98e2ad748177526008b
https://github.com/qemu/qemu/commit/451e7b7aa74b9bc365afe98e2ad748177526008b
Author: Gerd Hoffmann <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M backends/igvm-cfg.c
M backends/igvm.c
R backends/igvm.h
A include/system/igvm.h
Log Message:
-----------
igvm: move igvm.h file to include/system
Prepare for arch-specific igvm code being added to the code base.
Reviewed-by: Ani Sinha <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Reviewed-by: Luigi Leonardi <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-ID: <[email protected]>
Commit: dd020b4e6baa27012d06fd7bee67c32f1cf78acc
https://github.com/qemu/qemu/commit/dd020b4e6baa27012d06fd7bee67c32f1cf78acc
Author: Gerd Hoffmann <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M backends/igvm.c
Log Message:
-----------
igvm: fix off by one bug in memmap entry count checking
Fixes: c1d466d267 ("backends/igvm: Add IGVM loader and configuration")
Reviewed-by: Luigi Leonardi <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-ID: <[email protected]>
Commit: 13abf2fcb7a63fe28766dbd9b77383aea8b9f33c
https://github.com/qemu/qemu/commit/13abf2fcb7a63fe28766dbd9b77383aea8b9f33c
Author: Gerd Hoffmann <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M backends/igvm.c
M include/system/igvm.h
A stubs/igvm.c
M stubs/meson.build
A target/i386/igvm.c
M target/i386/meson.build
Log Message:
-----------
igvm: add support for igvm memory map parameter in native mode
Add and wire up qigvm_x86_get_mem_map_entry function which converts the
e820 table into an igvm memory map parameter. This makes igvm files for
the native (non-confidential) platform with memory map parameter work.
Reviewed-by: Stefano Garzarella <[email protected]>
Reviewed-by: Luigi Leonardi <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-ID: <[email protected]>
Commit: 593fe98d745544a6a6ad66242633713d30a60d24
https://github.com/qemu/qemu/commit/593fe98d745544a6a6ad66242633713d30a60d24
Author: Gerd Hoffmann <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M backends/igvm.c
M include/system/igvm.h
M stubs/igvm.c
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/igvm.c
Log Message:
-----------
igvm: add support for initial register state load in native mode
Add IgvmNativeVpContextX64 struct holding the register state (see igvm
spec), and the qigvm_x86_load_context() function to load the register
state.
Wire up using two new functions: qigvm_x86_set_vp_context() is called
from igvm file handling code and stores the boot processor context.
qigvm_x86_bsp_reset() is called from i386 target cpu reset code and
loads the context into the cpu registers.
Reviewed-by: Stefano Garzarella <[email protected]>
Reviewed-by: Luigi Leonardi <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-ID: <[email protected]>
Commit: 541e7a2d987cf74bc1931bdd99d64b27bc9f335b
https://github.com/qemu/qemu/commit/541e7a2d987cf74bc1931bdd99d64b27bc9f335b
Author: Gerd Hoffmann <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M MAINTAINERS
Log Message:
-----------
igvm: add MAINTAINERS entry
Roy Hopkins (the original author) does not respond, so the new plan
going forward is that I will maintain this together with Stefano. Also
add Ani as reviewer.
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Message-ID: <[email protected]>
Commit: c159cc11ce746fb822c6a894e8cfea8eecacfce5
https://github.com/qemu/qemu/commit/c159cc11ce746fb822c6a894e8cfea8eecacfce5
Author: Richard Henderson <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M accel/tcg/tcg-accel-ops-rr.c
M include/exec/cpu-common.h
M include/hw/core/cpu.h
M include/qemu/main-loop.h
M include/qemu/timer.h
M stubs/iothread-lock.c
M system/cpus.c
M target/rx/helper.c
M tests/unit/test-aio-multithread.c
M tests/unit/test-cutils.c
M util/hexdump.c
M util/main-loop.c
M util/qemu-thread-common.h
M util/qemu-timer.c
Log Message:
-----------
Merge tag 'accel-cpus-20251102' of https://github.com/philmd/qemu into staging
Generic CPUs / accelerators patch queue
- Access CPUState::thread_kicked atomically
- Fix bql_locked status with condvar APIs
- Document cpu_memory_rw_debug()
- Rename init_clocks() -> qemu_init_clocks() to avoid name clashing
- Fix QEMU_HEXDUMP_LINE_WIDTH logic
- Fix interrupts check in rx_cpu_do_interrupt()
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmkHnzgACgkQ4+MsLN6t
# wN6PUw//Xaw1y/cll4knyXBAWl9oig1AuWv3eQKT/phJCl0TY7fg92I3m/5iPLxE
# 8aMlRO3Z0+chmfiBdaoEWL8G2gTg4lrq2XZXnNEad+V84N6I2rTYC+F71NXCTv2e
# aNZHd3eAuL6Vi9Iw1uNo5QmobRT+mgFPLzXYaDeRC3h48v1vUyP0hrNPGBQRFwnt
# 1OjOAbSHJhKJLFgIiTfmhqQrGDJUMcPXTMoaqeYQP7AMfZ0oo87aFXubwg5e4Ufp
# rOYIuH3kNVmvoJ0v51C6nvt2NnKVdSuFPWfuO8/aW1z30JQ4eySo6vrhTshSquB7
# eCq62UBLQohoVWJxmlrZ1ibUjJh6hi/v4lzLPVTkL3DYb6RXuggesytVzarivrPm
# ZmlyeKBWH2wKVNhPFh5VgqpTfXwfp5zbeIDWvTlZ3ArX+3qokABiGuPlKw7lb+7I
# wsQIQMgBmf4VkXm40rnoiys2mu6CIs9bOgxs6Y11PEPuq2CuYJCBTmLbzer/VUcC
# RCuEzhTePStvFElmv9wpISCXFm1FOIsGc/AT4TkuikavEd3sN7+lZ10HmGjTB60D
# MZ7B+iw7KPMcC1HDSX9EPHTcv2cIkNx85YQNoWGpnDRHJlBqvLKH1CwlQdxoEc6x
# QpkW8p9x87JolESFzzrfHHd+IiA47SIsCu7nxi8r7k48oJrj0m8=
# =gqnq
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 02 Nov 2025 07:13:12 PM CET
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>"
[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 'accel-cpus-20251102' of https://github.com/philmd/qemu:
rx: cpu: fix interrupts check in rx_cpu_do_interrupt()
tests/unit: add unit test for qemu_hexdump()
util/hexdump: fix QEMU_HEXDUMP_LINE_WIDTH logic
timers: properly prefix init_clocks()
exec/cpu: Declare cpu_memory_rw_debug() in 'hw/core/cpu.h' and document
bql: Fix bql_locked status with condvar APIs
accel/tcg: Use cpu_is_stopped() helper to access CPUState::stopped
cpus: Access CPUState::thread_kicked atomically
Signed-off-by: Richard Henderson <[email protected]>
Commit: b7e3d76e70f9c5d85c956b3d9b5e7485a58ae5f0
https://github.com/qemu/qemu/commit/b7e3d76e70f9c5d85c956b3d9b5e7485a58ae5f0
Author: Richard Henderson <[email protected]>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M MAINTAINERS
M backends/igvm-cfg.c
M backends/igvm.c
R backends/igvm.h
A include/system/igvm.h
A stubs/igvm.c
M stubs/meson.build
M target/i386/cpu.c
M target/i386/cpu.h
A target/i386/igvm.c
M target/i386/meson.build
Log Message:
-----------
Merge tag 'igvm-20251103--pull-request' of https://gitlab.com/kraxel/qemu
into staging
igvm: improve native mode (non-confidential guest) supportY
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmkIas0ACgkQTLbY7tPo
# cTjDMBAAsYpXOwWFHfSrAMbNw8a4hXcUJ6qvm1qMZIANX33jAX9v2rPN7W7PCldk
# Ch6mkouubIUUdSk0i8RIyobm+UwyHag9lHICul1Pv91B/+F1wC353f5YDK7EJsdg
# FBT0SIIz4ZEkRKWbLvF6i6a1SW0jaT2jRxjXV3wUBGCyUal84qKNsv2KQIoeYUk3
# zmH9mBZXKv6nM5hc7VEp2g/G8e18flrCHClohMJdBIiK2hFqFcRcULlT6eVuUVxP
# gzq8lhoZZeWPpxDopq3IKDEA8NQUTYImdLbOfdjncBpcAXX0FNykH9JRmC7X+ObZ
# FtjHzQIW2Ry68SBmNhBm8kj5e4uybd+DqoIcrGa8TJBlfrl/Zkc63PXaWWs3BnnN
# eTYKamV9YR03yD9fTt3RnGwisZloSeRBn06grcdq7Lynwnap7S6PJMaDlOOGeopn
# Ocdj7w6LS05ocl3d+kRmor+z8L8AQ12drjaOqX8n9XcbUw7+RmrNyw66lGkMBhfM
# BSdFi2cpAdtz4rYxf60rkk10cWaPlO65MhTFkWDbdv5f+LFVeRwKJt61U1RLcSRM
# hbwJXRCspVSALjQ5gtEIhQjojxXEkiCkO3ap+sILb/nXh92y+QQ7DzX4vOFQ879e
# r9dCEGO+hyIea0+6Gy10cfrUyNKbqm501k61DP4ij2YwvxFAx9M=
# =g/cv
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 03 Nov 2025 09:41:49 AM CET
# gpg: using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <[email protected]>" [unknown]
# gpg: aka "Gerd Hoffmann <[email protected]>" [unknown]
# gpg: aka "Gerd Hoffmann (private) <[email protected]>"
[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: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138
* tag 'igvm-20251103--pull-request' of https://gitlab.com/kraxel/qemu:
igvm: add MAINTAINERS entry
igvm: add support for initial register state load in native mode
igvm: add support for igvm memory map parameter in native mode
igvm: fix off by one bug in memmap entry count checking
igvm: move igvm.h file to include/system
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/53b41bb78950...b7e3d76e70f9
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications