Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 3ab823b980ae33cec3e64053230af7b2807dce60
https://github.com/qemu/qemu/commit/3ab823b980ae33cec3e64053230af7b2807dce60
Author: Thomas Huth <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M tests/qemu-iotests/tests/inactive-node-nbd
Log Message:
-----------
tests/qemu-iotests: Mark the 'inactive-node-nbd' as unsupported with -luks
When running "./check -luks inactive-node-nbd", the test currently fails
because QEMU terminates immediately. The reason can be seen with the
"-p" parameter of the "check" script:
qemu-system-x86_64: -blockdev
luks,file=disk-file,node-name=disk-fmt,active=off:
Parameter 'key-secret' is required for cipher
Quoting Kevin: "The test case just isn't made for luks. iotests.py has
special code for luks in VM.add_drive(), but not in VM.add_blockdev()."
Thus let's mark it as unsupported on luks to avoid the failure.
Suggested-by: Kevin Wolf <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 6eda39a87f4fda78befa4085e3644e4440afc1dd
https://github.com/qemu/qemu/commit/6eda39a87f4fda78befa4085e3644e4440afc1dd
Author: Daniel P. Berrangé <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/crypto.c
Log Message:
-----------
block: remove 'detached-header' option from opts after use
The code for creating LUKS devices references a 'detached-header'
option in the QemuOpts data, but does not consume (remove) the
option.
Thus when the code later tries to convert the remaining unused
QemuOpts into a QCryptoBlockCreateOptions struct, an error is
reported by the QAPI code that 'detached-header' is not a valid
field.
This fixes a regression caused by
commit e818c01ae6e7c54c7019baaf307be59d99ce80b9
Author: Daniel P. Berrangé <[email protected]>
Date: Mon Feb 19 15:12:59 2024 +0000
qapi: drop unused QCryptoBlockCreateOptionsLUKS.detached-header
which identified that the QAPI field was unused, but failed to
realize the QemuOpts -> QCryptoBlockCreateOptions conversion
was seeing the left-over 'detached-header' option which had not
been removed from QemuOpts.
This problem was identified by the 'luks-detached-header' I/O
test, but unfortunately I/O tests are not run regularly for the
LUKS format.
Fixes: e818c01ae6e7c54c7019baaf307be59d99ce80b9
Reported-by: Thomas Huth <[email protected]>
Signed-off-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: c86488abaf017ed3f5a636c3247cd640a93d3b08
https://github.com/qemu/qemu/commit/c86488abaf017ed3f5a636c3247cd640a93d3b08
Author: Daniel P. Berrangé <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/crypto.c
Log Message:
-----------
block: fix luks 'amend' when run in coroutine
Launch QEMU with
$ qemu-img create \
--object secret,id=sec0,data=123456 \
-f luks -o key-secret=sec0 demo.luks 1g
$ qemu-system-x86_64 \
--object secret,id=sec0,data=123456 \
-blockdev
driver=luks,key-secret=sec0,file.filename=demo.luks,file.driver=file,node-name=luks
Then in QMP shell attempt
x-blockdev-amend job-id=fish node-name=luks
options={'state':'active','new-secret':'sec0','driver':'luks'}
It will result in an assertion
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007fad18b73f63 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2 0x00007fad18b19f3e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3 0x00007fad18b016d0 in __GI_abort () at abort.c:77
#4 0x00007fad18b01639 in __assert_fail_base
(fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>,
line=<optimized out>, function=<optimized out>) at assert.c:118
#5 0x00007fad18b120af in __assert_fail (assertion=<optimized out>,
file=<optimized out>, line=<optimized out>, function=<optimized out>)
at assert.c:127
#6 0x000055ff74fdbd46 in bdrv_graph_rdlock_main_loop () at
../block/graph-lock.c:260
#7 0x000055ff7548521b in graph_lockable_auto_lock_mainloop (x=<optimized
out>)
at /usr/src/debug/qemu-9.2.4-1.fc42.x86_64/include/block/graph-lock.h:266
#8 block_crypto_read_func (block=<optimized out>, offset=4096,
buf=0x55ffb6d66ef0 "", buflen=256000, opaque=0x55ffb5edcc30,
errp=0x55ffb6f00700)
at ../block/crypto.c:71
#9 0x000055ff75439f8b in qcrypto_block_luks_load_key
(block=block@entry=0x55ffb5edbe90, slot_idx=slot_idx@entry=0,
password=password@entry=0x55ffb67dc260 "123456",
masterkey=masterkey@entry=0x55ffb5fb0c40 "",
readfunc=readfunc@entry=0x55ff754851e0 <block_crypto_read_func>,
opaque=opaque@entry=0x55ffb5edcc30, errp=0x55ffb6f00700)
at ../crypto/block-luks.c:927
#10 0x000055ff7543b90f in qcrypto_block_luks_find_key
(block=<optimized out>, password=<optimized out>, masterkey=<optimized
out>, readfunc=<optimized out>, opaque=<optimized out>, errp=<optimized out>)
at ../crypto/block-luks.c:1045
#11 qcrypto_block_luks_amend_add_keyslot
(block=0x55ffb5edbe90, readfunc=0x55ff754851e0 <block_crypto_read_func>,
writefunc=0x55ff75485100 <block_crypto_write_func>, opaque=0x55ffb5edcc3,
opts_luks=0x7fad1715aef8, force=<optimized out>, errp=0x55ffb6f00700) at
../crypto/block-luks.c:1673
#12 qcrypto_block_luks_amend_options
(block=0x55ffb5edbe90, readfunc=0x55ff754851e0 <block_crypto_read_func>,
writefunc=0x55ff75485100 <block_crypto_write_func>, opaque=0x55ffb5edcc30,
options=0x7fad1715aef0, force=<optimized out>, errp=0x55ffb6f00700) at
../crypto/block-luks.c:1865
#13 0x000055ff75485b95 in block_crypto_amend_options_generic_luks
(bs=<optimized out>, amend_options=<optimized out>, force=<optimized
out>, errp=<optimized out>) at ../block/crypto.c:949
#14 0x000055ff75485c28 in block_crypto_co_amend_luks (bs=<optimized out>,
opts=<optimized out>, force=<optimized out>, errp=<optimized out>)
at ../block/crypto.c:1008
#15 0x000055ff754778e5 in blockdev_amend_run (job=0x55ffb6f00640,
errp=0x55ffb6f00700) at ../block/amend.c:52
#16 0x000055ff75468b90 in job_co_entry (opaque=0x55ffb6f00640) at
../job.c:1106
#17 0x000055ff755a0fc2 in coroutine_trampoline (i0=<optimized out>,
i1=<optimized out>) at ../util/coroutine-ucontext.c:175
This changes the read/write callbacks to not assert that they
are run in mainloop context if already in a coroutine.
This is also reproduced by qemu-iotests cases 295 and 296.
Fixes: 1f051dcbdf2e4b6f518db731c84e304b2b9d15ce
Signed-off-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: dec83ac02bee2f57f5b646dc1bedc5c200f3d679
https://github.com/qemu/qemu/commit/dec83ac02bee2f57f5b646dc1bedc5c200f3d679
Author: Bin Guo <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/monitor/block-hmp-cmds.c
M tests/qemu-iotests/267.out
Log Message:
-----------
block/monitor: Use hmp_handle_error to report error
According to writing-monitor-commands.rst, best practice is to
use the 'hmp_handle_error' function, which ensures that the
message gets an 'Error: ' prefix.
Signed-off-by: Bin Guo <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
[kwolf: Fixed up iotests reference output]
Signed-off-by: Kevin Wolf <[email protected]>
Commit: ad97769e9dcf4dbdaae6d859176e5f37fd6a7c66
https://github.com/qemu/qemu/commit/ad97769e9dcf4dbdaae6d859176e5f37fd6a7c66
Author: Richard W.M. Jones <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/curl.c
Log Message:
-----------
block/curl.c: Fix CURLOPT_VERBOSE parameter type
In commit ed26056d90 ("block/curl.c: Use explicit long constants in
curl_easy_setopt calls") we missed a further call that takes a long
parameter.
Reported-by: Kevin Wolf <[email protected]>
Signed-off-by: Richard W.M. Jones <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 5e5aebd848a0daa69fe2b478e376ab2ddf9d9a32
https://github.com/qemu/qemu/commit/5e5aebd848a0daa69fe2b478e376ab2ddf9d9a32
Author: Eric Blake <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M tests/qemu-iotests/094.out
M tests/qemu-iotests/119.out
Log Message:
-----------
iotests: Adjust nbd expected outputs to match current behavior
'git bisect' confirms that the NBD iotests 94 and 119 have been broken
since commit effd60c8 in v9.0.0; but as Dan Berrange's efforts to
improve CI have proven, we haven't been reliably running them to
notice. The change was good (moving coroutine commands to run in the
right context), but it meant that "execute":"quit" now waits to
complete until the coroutines tearing down NBD have first reported the
SHUTDOWN event, in the opposite order of what happened pre-patch.
Signed-off-by: Eric Blake <[email protected]>
Fixes: effd60c8 ("monitor: only run coroutine commands in qemu_aio_context",
v9.0.0)
Reported-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 3ab02c857047c16e622a7ad2adb51ef21e24989e
https://github.com/qemu/qemu/commit/3ab02c857047c16e622a7ad2adb51ef21e24989e
Author: Eric Blake <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M tests/qemu-iotests/tests/fuse-allow-other.out
Log Message:
-----------
iotests: Adjust fuse-allow-other expected output
The iotest fuse-allow-other has been broken since commit effd60c8 in
v9.0.0; but as Dan Berrange's efforts to improve CI have proven, we
haven't been reliably running it to notice. The change in that commit
was good (moving coroutine commands to run in the right context), but
it meant that "execute":"quit" now waits to complete until the
coroutines tearing down fuse have first reported the SHUTDOWN event,
in the opposite order of what happened pre-patch.
Signed-off-by: Eric Blake <[email protected]>
Fixes: effd60c8 ("monitor: only run coroutine commands in qemu_aio_context",
Reported-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 9f0c763e16c65d3aab5f3f17768df58321874685
https://github.com/qemu/qemu/commit/9f0c763e16c65d3aab5f3f17768df58321874685
Author: Chandan Somani <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/accounting.c
M blockdev.c
M hw/block/block.c
M include/block/accounting.h
M include/hw/block/block.h
M tests/qemu-iotests/172.out
Log Message:
-----------
block: enable stats-intervals for storage devices
This patch allows stats-intervals to be used for storage
devices with the -device option. It accepts a list of interval
lengths in JSON format.
It configures and collects the stats in the BlockBackend layer
through the storage device that consumes the BlockBackend.
Signed-off-by: Chandan Somani <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: aa981ab3a371c1100f8efaddbc319126ecdc3dd0
https://github.com/qemu/qemu/commit/aa981ab3a371c1100f8efaddbc319126ecdc3dd0
Author: Peter Maydell <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M MAINTAINERS
Log Message:
-----------
MAINTAINERS: Mark VHDX block driver as "Odd Fixes"
In 2018 (in commit 5f5246b6b) Jeff Cody stepped down as block
maintainer, but left himself as maintainer for VHDX and with a status
of "Supported", with the rationale:
For VHDX, added my personal email address as a maintainer, as I can
answer questions or send the occassional bug fix. Leaving it as
'Supported', instead of 'Odd Fixes', because I think the rest of the
block layer maintainers and developers will upkeep it as well, if
needed.
However, today the way we treat subsystems which are only maintained
under the general umbrella of a wider system is usually to mark them
as "Odd Fixes". The vhdx.c code has had no commits which aren't a
part of more general refactoring changes since 2020, and Jeff himself
hasn't been active on qemu-devel since 2018, so this seems also to be
how we've handled the code in practice.
Signed-off-by: Peter Maydell <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 41203754207ce78b2024043c457f66a833b723b9
https://github.com/qemu/qemu/commit/41203754207ce78b2024043c457f66a833b723b9
Author: Fiona Ebner <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M include/block/block_int-common.h
Log Message:
-----------
include/block/block_int-common: document when resize callback is used
The 'resize' callback is only called by bdrv_parent_cb_resize() which
is only called by bdrv_co_write_req_finish() to notify the parent(s)
that the child was resized.
Signed-off-by: Fiona Ebner <[email protected]>
Reviewed-by: Hanna Czenczek <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 08736e7584c41b75e734f412e1fea5ae949afac1
https://github.com/qemu/qemu/commit/08736e7584c41b75e734f412e1fea5ae949afac1
Author: Fiona Ebner <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/io.c
M include/block/block_int-io.h
Log Message:
-----------
block: make bdrv_co_parent_cb_resize() a proper IO API function
In preparation for calling it via the bdrv_child_cb_resize() callback
that will be added by the next commit. Rename it to include the "_co_"
part while at it.
Signed-off-by: Fiona Ebner <[email protected]>
Reviewed-by: Hanna Czenczek <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: cbadaf57a775e84ff10455108afd6e191c5c0630
https://github.com/qemu/qemu/commit/cbadaf57a775e84ff10455108afd6e191c5c0630
Author: Fiona Ebner <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block.c
M include/block/block_int-common.h
Log Message:
-----------
block: implement 'resize' callback for child_of_bds class
If a filtered child is resized, the size of the parent node is now
also refreshed (recursively for chains of filtered children).
For filter block drivers that do not implement .bdrv_co_getlength(),
this commit does not change the current behavior, because
bdrv_co_refresh_total_sectors() will used the current size via the
passed-in hint. This is the case for block drivers for (some) block
jobs, as well as copy-before-write.
Block jobs already set up a blocker preventing a QMP block_resize
operation while the job is running. That does not directly cover an
associated 'file' node of a 'raw' node, but resizing such a 'file'
node is already prevented too (backup, commit, mirror and stream were
checked).
The other case is copy-before-write. This commit does not change the
fact that the copy-before-write node still has the same size after its
filtered child is resized.
Block drivers that do implement .bdrv_co_getlength() and where
.is_filter is true, already returned the length of the file child, so
there is no change before and after this commit, with two exceptions:
1. preallocate can return an early data_end and otherwise queries the
file child, but that special casing is not changed.
2. blkverify returns the length of the test file. This commit does not
affect that behavior.
Signed-off-by: Fiona Ebner <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 4eb4365b9fbd564aa8ef40b1cbd4f0e2076b4d6d
https://github.com/qemu/qemu/commit/4eb4365b9fbd564aa8ef40b1cbd4f0e2076b4d6d
Author: Fiona Ebner <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
A tests/qemu-iotests/tests/resize-below-filter
A tests/qemu-iotests/tests/resize-below-filter.out
Log Message:
-----------
iotests: add test for resizing a node below filters
Signed-off-by: Fiona Ebner <[email protected]>
Reviewed-by: Hanna Czenczek <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 59e231f3f03f6db5506312e3e7659480a752eba3
https://github.com/qemu/qemu/commit/59e231f3f03f6db5506312e3e7659480a752eba3
Author: Fiona Ebner <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
A tests/qemu-iotests/tests/resize-below-raw
A tests/qemu-iotests/tests/resize-below-raw.out
Log Message:
-----------
iotests: add test for resizing a 'file' node below a 'raw' node
Signed-off-by: Fiona Ebner <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 46dd683d56b1328cb2bc923914bfd7ac590064f7
https://github.com/qemu/qemu/commit/46dd683d56b1328cb2bc923914bfd7ac590064f7
Author: Kevin Wolf <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M include/block/block_int-common.h
Log Message:
-----------
block: Improve comments in BlockLimits
Patches to expose the limits in QAPI have made clear that the existing
documentation of BlockLimits could be improved: The meaning of
min_mem_alignment and opt_mem_alignment could be clearer, and talking
about better alignment values isn't helpful when we only detect these
values and never choose them.
Make the changes in the BlockLimits documentation now, so that the
patches exposing the fields in QAPI can use descriptions consistent with
it.
Signed-off-by: Kevin Wolf <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: d2634e18286a5772f04cc724e64f8b16a2124587
https://github.com/qemu/qemu/commit/d2634e18286a5772f04cc724e64f8b16a2124587
Author: Kevin Wolf <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/qapi.c
M qapi/block-core.json
M tests/qemu-iotests/184
M tests/qemu-iotests/184.out
M tests/qemu-iotests/common.filter
Log Message:
-----------
block: Expose block limits for images in QMP
This information can be useful both for debugging and for management
tools trying to configure guest devices with the optimal limits
(possibly across multiple hosts). There is no reason not to make it
available, so just add it to BlockNodeInfo.
Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Hanna Czenczek <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 5b4b3bfdfc28d2398f34194d260d6eef9a9048b4
https://github.com/qemu/qemu/commit/5b4b3bfdfc28d2398f34194d260d6eef9a9048b4
Author: Kevin Wolf <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M block/qapi.c
M docs/tools/qemu-img.rst
M include/block/qapi.h
M qemu-img-cmds.hx
M qemu-img.c
Log Message:
-----------
qemu-img info: Optionally show block limits
Add a new --limits option to 'qemu-img info' that displays the block
limits for the image and all of its children, making the information
more accessible for human users than in QMP. This option is not enabled
by default because it can be a lot of output that isn't usually relevant
if you're not specifically trying to diagnose some I/O problem.
This makes the same information automatically also available in HMP
'info block -v'.
Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Hanna Czenczek <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: 911992fd6ec7a84c7cc82831b4bcd8a2ca5ccc76
https://github.com/qemu/qemu/commit/911992fd6ec7a84c7cc82831b4bcd8a2ca5ccc76
Author: Kevin Wolf <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M docs/tools/qemu-img.rst
M qemu-img-cmds.hx
M qemu-img.c
Log Message:
-----------
qemu-img info: Add cache mode option
When querying block limits, different cache modes (in particular
O_DIRECT or not) can result in different limits. Add an option to
'qemu-img info' that allows the user to specify a cache mode, so that
they can get the block limits for the cache mode they intend to use with
their VM.
Signed-off-by: Kevin Wolf <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Commit: a04c5ba543c1bc83a25a557e3b62ee811869b373
https://github.com/qemu/qemu/commit/a04c5ba543c1bc83a25a557e3b62ee811869b373
Author: Edgar E. Iglesias <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/microblaze/op_helper.c
Log Message:
-----------
target/microblaze: Remove unused arg from check_divz()
Remove unused arg from check_divz(). No functional change.
Signed-off-by: Edgar E. Iglesias <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 0e46b4d1f13b26c3c0e30eafa2be8eed76548bd3
https://github.com/qemu/qemu/commit/0e46b4d1f13b26c3c0e30eafa2be8eed76548bd3
Author: Edgar E. Iglesias <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/microblaze/op_helper.c
M target/microblaze/translate.c
Log Message:
-----------
target/microblaze: div: Break out raise_divzero()
Break out raise_divzero() and take the opportunity to rename
and reorder function args to better match with spec and
pseudo code.
No functional change.
Signed-off-by: Edgar E. Iglesias <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Commit: cfc1d54251d3b4c4cf21c4fa278c8aea2fe25a99
https://github.com/qemu/qemu/commit/cfc1d54251d3b4c4cf21c4fa278c8aea2fe25a99
Author: Edgar E. Iglesias <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/microblaze/cpu.h
M target/microblaze/op_helper.c
Log Message:
-----------
target/microblaze: Handle signed division overflows
Handle signed division overflows as specified in UG984:
https://docs.amd.com/r/en-US/ug984-vivado-microblaze-ref/idiv
Signed-off-by: Edgar E. Iglesias <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Commit: 2d89f33cd02ef8345d98262f51bc91bfcaaff86d
https://github.com/qemu/qemu/commit/2d89f33cd02ef8345d98262f51bc91bfcaaff86d
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M docs/devel/testing/ci-jobs.rst.inc
M scripts/ci/setup/ubuntu/build-environment.yml
Log Message:
-----------
ci: clean-up remaining bits of armhf builds.
We no longer need to support 32 bit builds and we missed this while
cleaning up.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 1a0b5af768b0e428eaf33f7b6a2d0eb1e6dffe0a
https://github.com/qemu/qemu/commit/1a0b5af768b0e428eaf33f7b6a2d0eb1e6dffe0a
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
M scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
Log Message:
-----------
scripts/ci/setup: regenerate yaml
We inadvertently updated the base libvirt-ci project which has
resulted in changes. Make sure the output matches what we generate.
Fixes: 0d4fb8f746d (configure: set the bindgen cross target)
Reviewed-by: Manos Pitsidianakis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: ced14739eb60e7f856374752adcc3fd056ce795c
https://github.com/qemu/qemu/commit/ced14739eb60e7f856374752adcc3fd056ce795c
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
A scripts/ci/setup/build-environment.yml
R scripts/ci/setup/ubuntu/build-environment.yml
Log Message:
-----------
scripts/ci: move build-environment.yaml up a level
We can share the setup of the build environment with multiple
operating systems as we just need to check the YAML for each env is
present in the directory structure.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 7425f47727e302d41fa803fbf1df86961bb1d177
https://github.com/qemu/qemu/commit/7425f47727e302d41fa803fbf1df86961bb1d177
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M scripts/ci/setup/build-environment.yml
Log Message:
-----------
scripts/ci: allow both Ubuntu or Debian to run upgrade
There is no practical difference between the systems when it comes to
updating the installed system.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: e1bbb4c62e0d96802ab6773f4661de9e1582e8bd
https://github.com/qemu/qemu/commit/e1bbb4c62e0d96802ab6773f4661de9e1582e8bd
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M scripts/ci/setup/build-environment.yml
A scripts/ci/setup/debian/debian-13-ppc64le.yaml
M tests/lcitool/refresh
Log Message:
-----------
tests/lcitool: generate a yaml file for the ppc64le runner
Unlike the Aarch64 runners this comes with pure Debian out of the box.
We need a minor tweak to build-environment to deal with the
differences in naming convention.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 900a5ecf0a1e5db4dc93190a3f69d49755670450
https://github.com/qemu/qemu/commit/900a5ecf0a1e5db4dc93190a3f69d49755670450
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M scripts/ci/setup/gitlab-runner.yml
Log Message:
-----------
scripts/ci: modify gitlab runner deb setup
Both Debian and Ubuntu are setup the same way.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: a8b477239ec084f4749354059d3c0d4925e9c9a5
https://github.com/qemu/qemu/commit/a8b477239ec084f4749354059d3c0d4925e9c9a5
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M include/qemu/plugin.h
M include/qemu/qemu-plugin.h
Log Message:
-----------
plugins: add types for callbacks related to certain discontinuities
The plugin API allows registration of callbacks for a variety of VCPU
related events, such as VCPU reset, idle and resume. However, traps of
any kind, i.e. interrupts or exceptions, were previously not covered.
These kinds of events are arguably quite significant and usually go hand
in hand with a PC discontinuity. On most platforms, the discontinuity
also includes a transition from some "mode" to another. Thus, plugins
for the analysis of (virtualized) embedded systems may benefit from or
even require the possiblity to perform work on the occurance of an
interrupt or exception.
This change introduces the concept of such a discontinuity event in the
form of an enumeration. Currently only traps are covered. Specifically
we (loosely) define interrupts, exceptions and host calls across all
platforms. In addition, this change introduces a type to use for
callback functions related to such events. Since possible modes and the
enumeration of interupts and exceptions vary greatly between different
architectures, the callback type only receives the VCPU id, the type of
event as well as the old and new PC.
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: aac73d85d2d6f556dbcee6041a2898cb0ef9b0e6
https://github.com/qemu/qemu/commit/aac73d85d2d6f556dbcee6041a2898cb0ef9b0e6
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M include/qemu/plugin-event.h
M include/qemu/qemu-plugin.h
M plugins/core.c
Log Message:
-----------
plugins: add API for registering discontinuity callbacks
The plugin API allows registration of callbacks for a variety of VCPU
related events, such as VCPU reset, idle and resume. In addition to
those events, we recently defined discontinuity events, which include
traps.
This change introduces a function to register callbacks for these
events. We define one distinct plugin event type for each type of
discontinuity, granting fine control to plugins in term of which events
they receive.
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: a1688bc86ce93ac0e006673766cd123eed43c02c
https://github.com/qemu/qemu/commit/a1688bc86ce93ac0e006673766cd123eed43c02c
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M include/qemu/plugin.h
M plugins/core.c
Log Message:
-----------
plugins: add hooks for new discontinuity related callbacks
The plugin API allows registration of callbacks for a variety of VCPU
related events, such as VCPU reset, idle and resume. In addition, we
recently introduced API for registering callbacks for discontinuity
events, specifically for interrupts, exceptions and host calls.
This change introduces the corresponding hooks called from target
specific code inside qemu.
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 9fe4dd99438a6ea70f4c3b7309ca9219ebdfc1f5
https://github.com/qemu/qemu/commit/9fe4dd99438a6ea70f4c3b7309ca9219ebdfc1f5
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M contrib/plugins/meson.build
A contrib/plugins/traps.c
M docs/about/emulation.rst
Log Message:
-----------
contrib/plugins: add plugin showcasing new dicontinuity related API
We recently introduced new plugin API for registration of discontinuity
related callbacks. This change introduces a minimal plugin showcasing
the new API. It simply counts the occurances of interrupts, exceptions
and host calls per CPU and reports the counts when exitting.
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 3d57ddace13912df5f1d52b5660c84cd91dd4507
https://github.com/qemu/qemu/commit/3d57ddace13912df5f1d52b5660c84cd91dd4507
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/alpha/helper.c
Log Message:
-----------
target/alpha: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for Alpha targets.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 105e3c75697afa4cbd8f885ef0a2347b766f5e10
https://github.com/qemu/qemu/commit/105e3c75697afa4cbd8f885ef0a2347b766f5e10
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/arm/helper.c
M target/arm/internals.h
M target/arm/tcg/m_helper.c
Log Message:
-----------
target/arm: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for ARM (and Aarch64) targets. We decided to
treat the (V)IRQ, (VI/VF)NMI, (V)FIQ and VSERR exceptions as interrupts
since they are, presumably, async in nature.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 14e1f3186ccbbe2f3e2fd3038213bd6f65cd0de6
https://github.com/qemu/qemu/commit/14e1f3186ccbbe2f3e2fd3038213bd6f65cd0de6
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/avr/helper.c
Log Message:
-----------
target/avr: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places the hook for AVR targets. That architecture appears
to only know interrupts.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: ed7b86888efcedebf50cf9055e1edd2e7ea019cb
https://github.com/qemu/qemu/commit/ed7b86888efcedebf50cf9055e1edd2e7ea019cb
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/hppa/int_helper.c
Log Message:
-----------
target/hppa: call plugin trap callbacks
We identified a number of exceptions as interrupts, and we assume every
other exception is a (syncroneous) exceptions. PA-RISC appears to not
have any form of host-call.
This change places the hook for PA-RISC targets.
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: b5c8cd61447b7dd8e454b0b6055b05d92f09a06e
https://github.com/qemu/qemu/commit/b5c8cd61447b7dd8e454b0b6055b05d92f09a06e
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/i386/tcg/excp_helper.c
M target/i386/tcg/seg_helper.c
Log Message:
-----------
target/i386: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places the hook for x86 targets.
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: ee0a63d0dac825e9a5133b073ec3a843d8b7e206
https://github.com/qemu/qemu/commit/ee0a63d0dac825e9a5133b073ec3a843d8b7e206
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/loongarch/tcg/tcg_cpu.c
Log Message:
-----------
target/loongarch: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for loongarch targets. This architecture
has one special "exception" for interrupts and no host calls.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Song Gao <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: b2d8618c216f9da8a468d20e2eb161ba72e6ecef
https://github.com/qemu/qemu/commit/b2d8618c216f9da8a468d20e2eb161ba72e6ecef
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/m68k/op_helper.c
Log Message:
-----------
target/m68k: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for Motorola 68000 targets.
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: cd6ee56222610f3228caf10c4868bd8593532b0c
https://github.com/qemu/qemu/commit/cd6ee56222610f3228caf10c4868bd8593532b0c
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/microblaze/helper.c
Log Message:
-----------
target/microblaze: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places the hook for MicroBlaze targets. This architecture
has one special "exception" for interrupts and no host calls.
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: c3d7005a6cbd5f7fe0ba01b92954964c90b76d15
https://github.com/qemu/qemu/commit/c3d7005a6cbd5f7fe0ba01b92954964c90b76d15
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/mips/tcg/system/tlb_helper.c
Log Message:
-----------
target/mips: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for MIPS targets. We consider the exceptions
NMI and EXT_INTERRUPT to be asynchronous interrupts rather than
exceptions.
Reviewed-by: Richard Henderson <[email protected]>
Acked-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: cbf0e6e3dc8ece2f3eb05c1840d95440eab4ae8c
https://github.com/qemu/qemu/commit/cbf0e6e3dc8ece2f3eb05c1840d95440eab4ae8c
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/openrisc/interrupt.c
Log Message:
-----------
target/openrisc: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for OpenRISC targets. We treat anything other
than resets, timer and device interrupts as exceptions.
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 11af01e8b760ba27f0246e1d990162ed6c6ea113
https://github.com/qemu/qemu/commit/11af01e8b760ba27f0246e1d990162ed6c6ea113
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/ppc/excp_helper.c
Log Message:
-----------
target/ppc: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for Power PC targets.
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 081aaba705feea37986e02873e17348627e79770
https://github.com/qemu/qemu/commit/081aaba705feea37986e02873e17348627e79770
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/riscv/cpu_helper.c
Log Message:
-----------
target/riscv: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for RISC-V targets.
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: dde21df2393a64df083cd8a524994a1ed9fd45dd
https://github.com/qemu/qemu/commit/dde21df2393a64df083cd8a524994a1ed9fd45dd
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/rx/helper.c
Log Message:
-----------
target/rx: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for Renesas Xtreme targets.
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Yoshinori Sato <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 42261299144ec57053431033afaa1ef8b376b79e
https://github.com/qemu/qemu/commit/42261299144ec57053431033afaa1ef8b376b79e
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/s390x/tcg/excp_helper.c
Log Message:
-----------
target/s390x: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for IBM System/390 targets. We treat "program
interrupts" and service calls as exceptions. We treat external and io
"exceptions" as well as resets as interrupts.
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 01f0738c57063d7efdb682d543e85690db295053
https://github.com/qemu/qemu/commit/01f0738c57063d7efdb682d543e85690db295053
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/sh4/helper.c
Log Message:
-----------
target/sh4: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for SuperH targets.
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Yoshinori Sato <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 8a315a788a4bb4c09390dbadf934289b2cfcecb5
https://github.com/qemu/qemu/commit/8a315a788a4bb4c09390dbadf934289b2cfcecb5
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/sparc/int32_helper.c
M target/sparc/int64_helper.c
Log Message:
-----------
target/sparc: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for SPARC (32bit and 64bit) targets. We treat
any interrupt other than EXTINT and IVEC as exceptions as they appear to
be synchroneous events.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: c4057ef38f8c7037b36d5931ae2144b7d523cd0c
https://github.com/qemu/qemu/commit/c4057ef38f8c7037b36d5931ae2144b7d523cd0c
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/tricore/op_helper.c
Log Message:
-----------
target/tricore: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places an exception hook for TriCore targets. Interrupts are
not implemented for this target and it has no host calls.
Reviewed-by: Bastian Koppelmann <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 6a0f4c11dd0e1a54f25842e94b465d35071c7c84
https://github.com/qemu/qemu/commit/6a0f4c11dd0e1a54f25842e94b465d35071c7c84
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M target/xtensa/exc_helper.c
M target/xtensa/xtensa-semi.c
Log Message:
-----------
target/xtensa: call plugin trap callbacks
We recently introduced API for registering callbacks for trap related
events as well as the corresponding hook functions. Due to differences
between architectures, the latter need to be called from target specific
code.
This change places hooks for xtensa targets.
Reviewed-by: Max Filippov <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 9125196aaa8c0be2f1e7d62ad30fd67cf46bbe9a
https://github.com/qemu/qemu/commit/9125196aaa8c0be2f1e7d62ad30fd67cf46bbe9a
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
A tests/tcg/plugins/discons.c
M tests/tcg/plugins/meson.build
Log Message:
-----------
tests: add plugin asserting correctness of discon event's to_pc
We recently introduced plugin API for the registration of callbacks for
discontinuity events, specifically for interrupts, exceptions and host
call events. The callback receives various bits of information,
including the VCPU index and PCs.
This change introduces a test plugin asserting the correctness of that
behaviour in cases where this is possible with reasonable effort.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 3c0b1fc078a2be255a72bec1ba4e088230307398
https://github.com/qemu/qemu/commit/3c0b1fc078a2be255a72bec1ba4e088230307398
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M tests/tcg/riscv64/Makefile.softmmu-target
A tests/tcg/riscv64/doubletrap.S
Log Message:
-----------
tests: add test for double-traps on rv64
We do have a number of test-case for various architectures exercising
their interrupt/exception logic. However, for the recently introduced
trap API we also want to exercise the logic for double traps on at least
one architecture.
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 5241645c47a9987f4fcc65bab303a444966b7942
https://github.com/qemu/qemu/commit/5241645c47a9987f4fcc65bab303a444966b7942
Author: Julian Ganz <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M tests/tcg/riscv64/Makefile.softmmu-target
A tests/tcg/riscv64/interruptedmemory.S
Log Message:
-----------
tests: add test with interrupted memory accesses on rv64
This test aims at catching API misbehaviour w.r.t. the interaction
between interrupts and memory accesses, such as the bug fixed in
27f347e6a1d269c533633c812321cabb249eada8
(accel/tcg: also suppress asynchronous IRQs for cpu_io_recompile)
Because the condition for triggering misbehaviour may not be
deterministic and the cross-section between memory accesses and
interrupt handlers may be small, we have to place our trust in large
numbers. Instead of guessing/trying an arbitrary, fixed loop-bound, we
decided to loop for a fixed amount of real-time. This avoids the test
running into a time-out on slower machines while enabling a high number
of possible interactions on faster machines.
The test program sends a single '.' per 1000000 loads/stores over the
serial. This output is not captured, but may be used by developers to
gauge the number of possible interactions.
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Signed-off-by: Julian Ganz <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 78bd26bbf07ffdb58953b62ec8777a5283849809
https://github.com/qemu/qemu/commit/78bd26bbf07ffdb58953b62ec8777a5283849809
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M plugins/core.c
M plugins/loader.c
Log Message:
-----------
plugins/core: add missing QEMU_DISABLE_CFI annotations
Most of the memory callbacks come directly from the generated code
however we have do have a a direct from C callback for the slow-path
and memory helpers.
There is also a reset callback that calls out to plugins.
Like the other plugin points we need to disable CFI as we are making
function calls to dynamically linked libraries.
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/3175
Reported-by: Peter Maydell <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 12e9a13e32662f2b9abce1fc34a89b0786280328
https://github.com/qemu/qemu/commit/12e9a13e32662f2b9abce1fc34a89b0786280328
Author: Alex Bennée <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M .gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml
M configs/devices/aarch64-softmmu/minimal.mak
Log Message:
-----------
configs: drop SBSA_REF from minimal specification
The whole point of SBSA_REF is for testing firmware which by
definition requires TCG. This means the configuration of:
--disable-tcg --with-devices-aarch64=minimal
makes no sense (and indeed is broken for the
ubuntu-24.04-aarch64-notcg) test. Drop it from minimal and remove the
allow_failure from the test case.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 524fc77d2322814f0dfde272559d74ec1599f01e
https://github.com/qemu/qemu/commit/524fc77d2322814f0dfde272559d74ec1599f01e
Author: Sean Anderson <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M gdbstub/syscalls.c
Log Message:
-----------
gdbstub: Fix %s formatting
The format string for %s has two format characters. This causes it to
emit strings like "466f5bd8/6x" instead of "466f5bd8/6". GDB detects
this and returns EIO, causing all open File I/O calls to fail.
Fixes: 0820a075af ("gdbstub: Adjust gdb_do_syscall to only use uint32_t and
uint64_t")
Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 4f45b2c352bb72c13a8801805061b31979e3f048
https://github.com/qemu/qemu/commit/4f45b2c352bb72c13a8801805061b31979e3f048
Author: Sean Anderson <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M semihosting/arm-compat-semi.c
Log Message:
-----------
semihosting: Fix GDB File-I/O FLEN
fstat returns 0 on success and -1 on error. Since we have already
checked for error, ret must be zero. Therefore, any call to fstat on a
non-empty file will return -1/EOVERFLOW.
Restore the original logic that just did a byteswap. I don't really know
what the intention of the fixed commit was.
Fixes: a6300ed6b7 ("semihosting: Split out semihost_sys_flen")
Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Commit: 097966704932ee28dadbf75243108097b0f3e123
https://github.com/qemu/qemu/commit/097966704932ee28dadbf75243108097b0f3e123
Author: Richard Henderson <[email protected]>
Date: 2025-10-30 (Thu, 30 Oct 2025)
Changed paths:
M MAINTAINERS
M block.c
M block/accounting.c
M block/crypto.c
M block/curl.c
M block/io.c
M block/monitor/block-hmp-cmds.c
M block/qapi.c
M blockdev.c
M docs/tools/qemu-img.rst
M hw/block/block.c
M include/block/accounting.h
M include/block/block_int-common.h
M include/block/block_int-io.h
M include/block/qapi.h
M include/hw/block/block.h
M qapi/block-core.json
M qemu-img-cmds.hx
M qemu-img.c
M tests/qemu-iotests/094.out
M tests/qemu-iotests/119.out
M tests/qemu-iotests/172.out
M tests/qemu-iotests/184
M tests/qemu-iotests/184.out
M tests/qemu-iotests/267.out
M tests/qemu-iotests/common.filter
M tests/qemu-iotests/tests/fuse-allow-other.out
M tests/qemu-iotests/tests/inactive-node-nbd
A tests/qemu-iotests/tests/resize-below-filter
A tests/qemu-iotests/tests/resize-below-filter.out
A tests/qemu-iotests/tests/resize-below-raw
A tests/qemu-iotests/tests/resize-below-raw.out
Log Message:
-----------
Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging
Block layer patches
- Expose block limits in monitor and qemu-img info
- Resize: Refresh filter node size when its child was resized
- Support configuring stats-intervals in -device (instead of only -drive)
- luks: Fix QMP x-blockdev-amend crash and image creation with detached-header
- iotests: Several test case fixes
- Code cleanups
# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCgAvFiEE3D3rFZqa+V09dFb+fwmycsiPL9YFAmkCAkIRHGt3b2xmQHJl
# ZGhhdC5jb20ACgkQfwmycsiPL9a3bA/+MMS9ocOyEiE4u66XbhQ4KgqxECtD/uzg
# 3lYQJbfVpphizq0QQn1pAno9rpjdWnkwPv9TasAEM/9R/wz/ygjmXM9GyQDvNLoB
# t6dTyWKpsi4lVB7FNPBNQvyz7mHqWQULrhI/mNGLsbiss32SMiE08amjOzSrFSZJ
# zn8TsEzDB218Bv8OBH/eI1mMvZ2gG6+yzPf7znA5nSOtJkG1kGLPInZuRgeN7e7W
# DUl5EeiP3sGZh4pF/IyRc8BNMsvPR7Lk31PrPEXAz+7g0y8dfPukrcR0nY6nwekT
# omPhbIBfDOEKpYdBxheOdh9TkT40Fo2Oc7DIhzY4at3O02BKy60kJSZaqoWj+80L
# A3yJ1K7wgiwqzOw0VaHU56Y5awnD5cculciwHxrfc6OHnG9cotvCSxsU2qr/UMd2
# N/cPhUDKfWcilVoRNy+yYiubQsp2s4amF2uGDn/QjjZx0c3dgfXc9BCNmu9nbAMr
# UsmzZBH9GCpaTajVIsX8RdnaovMTxGr4UFyuSQ2jWYWp3k2BR89jkBpXReGGOYr6
# SuEOOnx/E1duTZUPq1gdSkQm9uGxxq5FSGIWR+rWMdFkZS09HStmq5hcY+Zx0pSg
# JzDaLgPATV65y0VswFVUj6NemmNU983DwKPACwVCpemeBETtVuoU/CydzEPPwiL6
# Kl5ISmjZz3I=
# =v2BI
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 29 Oct 2025 01:02:10 PM CET
# gpg: using RSA key DC3DEB159A9AF95D3D7456FE7F09B272C88F2FD6
# gpg: issuer "[email protected]"
# gpg: Good signature from "Kevin Wolf <[email protected]>" [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: DC3D EB15 9A9A F95D 3D74 56FE 7F09 B272 C88F 2FD6
* tag 'for-upstream' of https://repo.or.cz/qemu/kevin:
qemu-img info: Add cache mode option
qemu-img info: Optionally show block limits
block: Expose block limits for images in QMP
block: Improve comments in BlockLimits
iotests: add test for resizing a 'file' node below a 'raw' node
iotests: add test for resizing a node below filters
block: implement 'resize' callback for child_of_bds class
block: make bdrv_co_parent_cb_resize() a proper IO API function
include/block/block_int-common: document when resize callback is used
MAINTAINERS: Mark VHDX block driver as "Odd Fixes"
block: enable stats-intervals for storage devices
iotests: Adjust fuse-allow-other expected output
iotests: Adjust nbd expected outputs to match current behavior
block/curl.c: Fix CURLOPT_VERBOSE parameter type
block/monitor: Use hmp_handle_error to report error
block: fix luks 'amend' when run in coroutine
block: remove 'detached-header' option from opts after use
tests/qemu-iotests: Mark the 'inactive-node-nbd' as unsupported with -luks
Signed-off-by: Richard Henderson <[email protected]>
Commit: 12688b0037da8185a45b31742220cd4263046044
https://github.com/qemu/qemu/commit/12688b0037da8185a45b31742220cd4263046044
Author: Richard Henderson <[email protected]>
Date: 2025-10-30 (Thu, 30 Oct 2025)
Changed paths:
M target/microblaze/cpu.h
M target/microblaze/op_helper.c
M target/microblaze/translate.c
Log Message:
-----------
Merge tag 'edgar/xilinx-queue-2025-10-29.for-upstream' of
https://gitlab.com/edgar.iglesias/qemu into staging
Xilinx queue
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEErET+3BT38evtv0FRKcWWeA9ryoMFAmkCDzgACgkQKcWWeA9r
# yoMxwAf/YRf8aNwn8+4MRAn5vuNI/Hyh75/Mu5m007fqU/gLEZxxzJQ0Jxrc5Oot
# tNqGBGnVsRmH7i7Kkn+Ch4GOozIEJkXmqeQ3brmCg1VvSgi2vtqvS9F3SK8U3I6j
# pavSC04KOtu33jlN63ObU+aAD/o5gLVwl2wAk+w0SWnnN4IhvPOilO7+ZeF5Lueh
# GH57sh9DRnMYJl4mOj5z5NDsgZhdnmjpvAkvWBI9cQ7uwhGXLk0lCu0+lJ25tr3T
# NAg6N4S94rCm0eaMKL79BHPuG59G3A5G8SOjn6pXkT2aYaaeHpqu2DcuFJsSsVxV
# 4CTignh5SVwICueFF4Z3RF5iZGHIDw==
# =ua+I
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 29 Oct 2025 01:57:28 PM CET
# gpg: using RSA key AC44FEDC14F7F1EBEDBF415129C596780F6BCA83
# gpg: Good signature from "Edgar E. Iglesias (Xilinx key)
<[email protected]>" [unknown]
# gpg: aka "Edgar E. Iglesias <[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: AC44 FEDC 14F7 F1EB EDBF 4151 29C5 9678 0F6B CA83
* tag 'edgar/xilinx-queue-2025-10-29.for-upstream' of
https://gitlab.com/edgar.iglesias/qemu:
target/microblaze: Handle signed division overflows
target/microblaze: div: Break out raise_divzero()
target/microblaze: Remove unused arg from check_divz()
Signed-off-by: Richard Henderson <[email protected]>
Commit: 4889d9666076d8164171d1208ffb8b2be10463f6
https://github.com/qemu/qemu/commit/4889d9666076d8164171d1208ffb8b2be10463f6
Author: Richard Henderson <[email protected]>
Date: 2025-10-30 (Thu, 30 Oct 2025)
Changed paths:
M .gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml
M configs/devices/aarch64-softmmu/minimal.mak
M contrib/plugins/meson.build
A contrib/plugins/traps.c
M docs/about/emulation.rst
M docs/devel/testing/ci-jobs.rst.inc
M gdbstub/syscalls.c
M include/qemu/plugin-event.h
M include/qemu/plugin.h
M include/qemu/qemu-plugin.h
M plugins/core.c
M plugins/loader.c
A scripts/ci/setup/build-environment.yml
A scripts/ci/setup/debian/debian-13-ppc64le.yaml
M scripts/ci/setup/gitlab-runner.yml
R scripts/ci/setup/ubuntu/build-environment.yml
M scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml
M scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml
M semihosting/arm-compat-semi.c
M target/alpha/helper.c
M target/arm/helper.c
M target/arm/internals.h
M target/arm/tcg/m_helper.c
M target/avr/helper.c
M target/hppa/int_helper.c
M target/i386/tcg/excp_helper.c
M target/i386/tcg/seg_helper.c
M target/loongarch/tcg/tcg_cpu.c
M target/m68k/op_helper.c
M target/microblaze/helper.c
M target/mips/tcg/system/tlb_helper.c
M target/openrisc/interrupt.c
M target/ppc/excp_helper.c
M target/riscv/cpu_helper.c
M target/rx/helper.c
M target/s390x/tcg/excp_helper.c
M target/sh4/helper.c
M target/sparc/int32_helper.c
M target/sparc/int64_helper.c
M target/tricore/op_helper.c
M target/xtensa/exc_helper.c
M target/xtensa/xtensa-semi.c
M tests/lcitool/refresh
A tests/tcg/plugins/discons.c
M tests/tcg/plugins/meson.build
M tests/tcg/riscv64/Makefile.softmmu-target
A tests/tcg/riscv64/doubletrap.S
A tests/tcg/riscv64/interruptedmemory.S
Log Message:
-----------
Merge tag 'pull-10.2-maintainer-291025-1' of https://gitlab.com/stsquad/qemu
into staging
maintainer updates for 10.2
- clean-up remaining 32 bit armhf bits in ci
- rationalise build-environment.yml for Debian and Ubuntu
- generate a Debian ppc64 package list
- rationalise gitlab-runner.yml for Debian and Ubuntu
- new TCG plugin feature to track discontinuities
- add missing CFI annotation to plugin callbacks
- drop SBSA_REF from minimal Arm build
- format string fix for gdbstub syscall response
- simplify the gdbstub flen handling for semihosting
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmkCInQACgkQ+9DbCVqe
# KkSZRwf/ReHIqQMxf8TqthskX8PLGUvsvWMkJptpu0Yc4HyU6DSjdPbU4L0tOmLU
# ss2sb+dZncp1iRxHpqOhPJ+a987RHHzFbz2GQ/nV37D7BTwtq0iID4SxmdfiYOAm
# VVm/WQ0HMjIYY84rzfE6U/3H+FgL+GaPbB0WYa5CtKpMOHMl4gJgoSsxljXQrmYe
# BCC+Z9loVUAnKVVM5BUMP/0Agfn0CUZlUHGEn6RvmNg81dJ5DWCfO9yW1EezLZmc
# PhS/txAWrpTqktPxN4h+um8ILvej5FF8nnNCsxodxD1XZImWsxawxcQAcgQQJGWu
# dFLBMre7QSM1ddIOgdyZt+zuDcpUiA==
# =QEqf
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 29 Oct 2025 03:19:32 PM CET
# gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key)
<[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: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44
* tag 'pull-10.2-maintainer-291025-1' of https://gitlab.com/stsquad/qemu: (35
commits)
semihosting: Fix GDB File-I/O FLEN
gdbstub: Fix %s formatting
configs: drop SBSA_REF from minimal specification
plugins/core: add missing QEMU_DISABLE_CFI annotations
tests: add test with interrupted memory accesses on rv64
tests: add test for double-traps on rv64
tests: add plugin asserting correctness of discon event's to_pc
target/xtensa: call plugin trap callbacks
target/tricore: call plugin trap callbacks
target/sparc: call plugin trap callbacks
target/sh4: call plugin trap callbacks
target/s390x: call plugin trap callbacks
target/rx: call plugin trap callbacks
target/riscv: call plugin trap callbacks
target/ppc: call plugin trap callbacks
target/openrisc: call plugin trap callbacks
target/mips: call plugin trap callbacks
target/microblaze: call plugin trap callbacks
target/m68k: call plugin trap callbacks
target/loongarch: call plugin trap callbacks
...
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/e090e0312dc9...4889d9666076
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications