Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 548f1abacbcd53947060a8b05b74d5d1539f87b3
https://github.com/qemu/qemu/commit/548f1abacbcd53947060a8b05b74d5d1539f87b3
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M include/exec/gdbstub.h
M monitor/hmp-cmds.c
Log Message:
-----------
monitor: Clean up HMP gdbserver error reporting
HMP command gdbserver used to emit two error messages for certain
errors. For instance, with -M none:
(qemu) gdbserver
gdbstub: meaningless to attach gdb to a machine without any CPU.
Could not open gdbserver on device 'tcp::1234'
The first message is the specific error, and the second one a generic
additional message that feels superfluous to me.
Commit c0e6b8b798b (system: propagate Error to gdbserver_start (and
other device setups)) turned the first message into a warning:
warning: gdbstub: meaningless to attach gdb to a machine without any CPU.
Could not open gdbserver on device 'tcp::1234'
This is arguably worse.
hmp_gdbserver() passes &error_warn to gdbserver_start(), so that
failure gets reported as warning, and then additionally emits the
generic error on failure. This is a misuse of &error_warn.
Instead, receive the error in &err and report it, as usual. With
this, gdbserver reports just the error:
gdbstub: meaningless to attach gdb to a machine without any CPU.
Cc: Alex Bennée <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 82b5e6cc309292b3490be87bb020cbe74fe618fc
https://github.com/qemu/qemu/commit/82b5e6cc309292b3490be87bb020cbe74fe618fc
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M tcg/region.c
Log Message:
-----------
tcg: Fix error reporting on mprotect() failure in tcg_region_init()
tcg_region_init() calls one of qemu_mprotect_rwx(),
qemu_mprotect_rw(), and mprotect(), then reports failure with
error_setg_errno(&error_fatal, errno, ...).
The use of &error_fatal is undesirable. qapi/error.h advises:
* Please don't error_setg(&error_fatal, ...), use error_report() and
* exit(), because that's more obvious.
The use of errno is wrong. qemu_mprotect_rwx() and qemu_mprotect_rw()
wrap around qemu_mprotect__osdep(). qemu_mprotect__osdep() calls
mprotect() on POSIX, VirtualProtect() on Windows, and reports failure
with error_report(). VirtualProtect() doesn't set errno. mprotect()
does, but error_report() may clobber it.
Fix tcg_region_init() to report errors only when it calls mprotect(),
and rely on qemu_mprotect_rwx()'s and qemu_mprotect_rw()'s error
reporting otherwise. Use error_report(), not error_setg().
Fixes: 22c6a9938f75 (tcg: Merge buffer protection and guard page protection)
Fixes: 6bc144237a85 (tcg: Use Error with alloc_code_gen_buffer)
Cc: Richard Henderson <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: b8df7dfc04a88228a6bf35530c10b1326f5cb6d6
https://github.com/qemu/qemu/commit/b8df7dfc04a88228a6bf35530c10b1326f5cb6d6
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M hw/cxl/cxl-host.c
Log Message:
-----------
hw/cxl: Convert cxl_fmws_link() to Error
Functions that use an Error **errp parameter to return errors should
not also report them to the user, because reporting is the caller's
job. When the caller does, the error is reported twice. When it
doesn't (because it recovered from the error), there is no error to
report, i.e. the report is bogus.
cxl_fmws_link_targets() violates this principle: it calls
error_setg(&error_fatal, ...) via cxl_fmws_link(). Goes back to
commit 584f722eb3ab (hw/cxl: Make the CXL fixed memory windows
devices.) Currently harmless, because cxl_fmws_link_targets()'s
callers always pass &error_fatal. Clean this up by converting
cxl_fmws_link() to Error.
Also change its return value on error from 1 to -1 to conform to the
rules laid in qapi/error.h. It's call chain cxl_fmws_link_targets()
via object_child_foreach_recursive() is fine with that.
Cc: Jonathan Cameron <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 897071bb27bfba578af15300973b7a4a1fb65ad2
https://github.com/qemu/qemu/commit/897071bb27bfba578af15300973b7a4a1fb65ad2
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M migration/cpr.c
Log Message:
-----------
migration/cpr: Clean up error reporting in cpr_resave_fd()
qapi/error.h advises:
* Please don't error_setg(&error_fatal, ...), use error_report() and
* exit(), because that's more obvious.
Do that, and replace exit() by g_assert_not_reached(), since this is
actually a programming error.
Cc: Steve Sistare <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Steve Sistare <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 789f1adefba726d2b0bf4d4254c829b5912e32ee
https://github.com/qemu/qemu/commit/789f1adefba726d2b0bf4d4254c829b5912e32ee
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M hw/remote/vfio-user-obj.c
Log Message:
-----------
hw/remote/vfio-user: Clean up error reporting
VFU_OBJECT_ERROR() reports the error with error_setg(&error_abort,
...) when auto-shutdown is enabled, else with error_report().
Issues:
1. The error is serious enough to warrant aborting the process when
auto-shutdown is enabled, yet harmless enough to permit carrying on
when it's disabled. This makes no sense to me.
2. Like assert(), &error_abort is strictly for programming errors. Is
this one? Vladimir Sementsov-Ogievskiy tells me it's not. Should we
exit(1) instead?
3. qapi/error.h advises "don't error_setg(&error_abort, ...), use
assert()."
This patch addresses just 3. It adds a FIXME comment for the other
two.
Cc: Jagannathan Raman <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
[FIXME comment added, commit message adjusted accordingly]
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 3cacecb9f83754a61f4a524f686deae790e2df15
https://github.com/qemu/qemu/commit/3cacecb9f83754a61f4a524f686deae790e2df15
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M net/slirp.c
Log Message:
-----------
net/slirp: Clean up error reporting
net_slirp_register_poll_sock() and net_slirp_unregister_poll_sock()
report WSAEventSelect() failure with error_setg(&error_warn, ...).
error_setg_win32(&error_warn, ...) is undesirable just like
error_setg(&error_fatal, ...) and error_setg(&error_abort, ...) are.
Replace by warn_report().
The failures should probably be errors, but these functions implement
callbacks that cannot fail, exit(1) would be too harsh, and silent
failure we don't want. Thus, warnings.
Cc: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: b46b8cf29c56e423b227021f1a5b7aa9b11181b4
https://github.com/qemu/qemu/commit/b46b8cf29c56e423b227021f1a5b7aa9b11181b4
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M ui/spice-core.c
Log Message:
-----------
ui/spice-core: Clean up error reporting
watch_add() reports _open_osfhandle() failure with
error_setg(&error_warn, ...). error_setg_win32(&error_warn, ...) is
undesirable just like error_setg(&error_fatal, ...) and
error_setg(&error_abort, ...) are. Replace by warn_report().
The failure should probably be an error, but this function implements
a callback that doesn't take Error **. I believe the failure will
make spice_server_init() fail in qemu_spice_init(), which is treated
as a fatal error. The warning here provides more detail than the
error message there.
Cc: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 5bd58f04b831f7086f21ae70c90d1a86b6565762
https://github.com/qemu/qemu/commit/5bd58f04b831f7086f21ae70c90d1a86b6565762
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M io/channel-socket.c
M io/channel-watch.c
M util/aio-win32.c
M util/oslib-win32.c
Log Message:
-----------
util/oslib-win32: Do not treat null @errp as &error_warn
qemu_socket_select() and its wrapper qemu_socket_unselect() treat a
null @errp as &error_warn. This is wildly inappropriate. A caller
passing null @errp specifies that errors are to be ignored. If
warnings are wanted, the caller must pass &error_warn.
Change callers to do that, and drop the inappropriate treatment of
null @errp.
This assumes that warnings are wanted. I'm not familiar with the
calling code, so I can't say whether it will work when the socket is
invalid, or WSAEventSelect() fails. If it doesn't, then this should
be an error instead of a warning. Invalid socket might even be a
programming error.
These warnings were introduced in commit f5fd677ae7cf (win32/socket:
introduce qemu_socket_select() helper). I considered reverting to
silence, but Daniel Berrangé asked for the warnings to be preserved.
Cc: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: b296b29d341429b82d9a76885f8e7fc3abd85ce2
https://github.com/qemu/qemu/commit/b296b29d341429b82d9a76885f8e7fc3abd85ce2
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M ui/qemu-pixman.c
Log Message:
-----------
ui/pixman: Consistent error handling in qemu_pixman_shareable_free()
qemu_pixman_shareable_free() wraps around either qemu_memfd_free() or
qemu_win32_map_free(). The former reports trouble as error, with
error_report(), then succeeds. The latter reports it as warning (we
pass it &error_warn), then succeeds.
Change the latter to report as error, too.
Cc: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 96ae3f67a222197ae633225ba4543551126dbd95
https://github.com/qemu/qemu/commit/96ae3f67a222197ae633225ba4543551126dbd95
Author: Markus Armbruster <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M ui/dbus-listener.c
Log Message:
-----------
ui/dbus: Clean up dbus_update_gl_cb() error checking
>From GLib "Rules for use of GError":
A GError* must be initialized to NULL before passing its address
to a function that can report errors.
dbus_update_gl_cb() seemingly violates this rule: it passes &err to
qemu_dbus_display1_listener_call_update_dmabuf_finish() and to
qemu_dbus_display1_listener_win32_d3d11_call_update_texture2d_finish()
without clearing it in between. Harmless, because the first call is
guarded by #ifdef CONFIG_GBM, the second by #ifdef WIN32, and the two
are mutually exclusive. I think.
Clean this up to be obviously correct.
Cc: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: f3da25a5571573dfd8b5459b3b4458cd4de38db7
https://github.com/qemu/qemu/commit/f3da25a5571573dfd8b5459b3b4458cd4de38db7
Author: Markus Armbruster <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M ui/dbus-listener.c
Log Message:
-----------
ui/dbus: Consistent handling of texture mutex failure
We report d3d_texture2d_acquire0() and d3d_texture2d_release0()
failure as error, except in dbus_update_gl_cb(), where we report it as
warning. Report it as error there as well.
Cc: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: e0c6c38738501ff4f79864ab2b10622433317711
https://github.com/qemu/qemu/commit/e0c6c38738501ff4f79864ab2b10622433317711
Author: Markus Armbruster <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M hw/misc/ivshmem-flat.c
Log Message:
-----------
ivshmem-flat: Mark an instance of missing error handling FIXME
ivshmem-flat's ivshmem_flat_add_vector() neglects to handle
qemu_set_blocking() failure. It used to silently ignore errors there.
Recent commit 6f607941b1c (treewide: use qemu_set_blocking instead of
g_unix_set_fd_nonblocking) changed it to warn (without mentioning it
the commit message, tsk, tsk, tsk).
Note that ivshmem-pci's process_msg_connect() handles this error.
Add a FIXME comment to mark the missing error handling.
Cc: Gustavo Romero <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: bcb536cabe108e71e2900cdd605f5b4e59ac3e1f
https://github.com/qemu/qemu/commit/bcb536cabe108e71e2900cdd605f5b4e59ac3e1f
Author: Markus Armbruster <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M hw/display/virtio-gpu.c
M hw/net/virtio-net.c
M include/qapi/error.h
M include/system/os-win32.h
M io/channel-socket.c
M io/channel-watch.c
M tests/unit/test-error-report.c
M ui/gtk.c
M util/aio-win32.c
M util/error.c
M util/oslib-win32.c
Log Message:
-----------
error: Kill @error_warn
We added @error_warn some two years ago in commit 3ffef1a55ca (error:
add global &error_warn destination). It has multiple issues:
* error.h's big comment was not updated for it.
* Function contracts were not updated for it.
* ERRP_GUARD() is unaware of @error_warn, and fails to mask it from
error_prepend() and such. These crash on @error_warn, as pointed
out by Akihiko Odaki.
All fixable. However, after more than two years, we had just of 15
uses, of which the last few patches removed seven as unclean or
otherwise undesirable, adding back five elsewhere. I didn't look
closely enough at the remaining seven to decide whether they are
desirable or not.
I don't think this feature earns its keep. Drop it.
Thanks-to: Akihiko Odaki <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-ID: <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Commit: 50873504dc3cc67ca06b4ebf307d084316e407a6
https://github.com/qemu/qemu/commit/50873504dc3cc67ca06b4ebf307d084316e407a6
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/__init__.py
M scripts/tracetool/format/__init__.py
Log Message:
-----------
tracetool: fix usage of try_import()
try_import returns a tuple of a boolean and the requested module or attribute.
exists() functions return tracetool.try_import("tracetool.format." + name)[1]
but they should return the boolean value instead.
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 4c2f770f67e0b0d8b512defca4d81bd09936ab85
https://github.com/qemu/qemu/commit/4c2f770f67e0b0d8b512defca4d81bd09936ab85
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/__init__.py
M scripts/tracetool/format/h.py
M scripts/tracetool/format/log_stap.py
M scripts/tracetool/format/simpletrace_stap.py
Log Message:
-----------
tracetool: remove dead code
Remove a bunch of dead code from tracetool.
In particular, there are no tcg-exec events anymore and the sub-event
functionality was only used for it.
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 20b92da6db74490a6ffdf01f3ec8d99fcb7c2c18
https://github.com/qemu/qemu/commit/20b92da6db74490a6ffdf01f3ec8d99fcb7c2c18
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M docs/conf.py
M docs/sphinx-static/theme_overrides.css
M scripts/analyse-locks-simpletrace.py
M scripts/modinfo-collect.py
M scripts/modinfo-generate.py
M scripts/oss-fuzz/minimize_qtest_trace.py
M scripts/oss-fuzz/output_reproducer.py
M scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py
M scripts/probe-gdb-support.py
M scripts/qapi/error.py
M scripts/qapi/expr.py
M scripts/qapi/gen.py
M scripts/qapi/parser.py
M scripts/qapi/schema.py
M scripts/qemu-plugin-symbols.py
M scripts/qemugdb/tcg.py
M scripts/qemugdb/timers.py
M scripts/replay-dump.py
M scripts/tracetool.py
M scripts/tracetool/__init__.py
M scripts/tracetool/backend/__init__.py
M scripts/tracetool/backend/dtrace.py
M scripts/tracetool/backend/ftrace.py
M scripts/tracetool/backend/log.py
M scripts/tracetool/backend/simple.py
M scripts/tracetool/backend/syslog.py
M scripts/tracetool/backend/ust.py
M scripts/tracetool/format/__init__.py
M scripts/tracetool/format/c.py
M scripts/tracetool/format/d.py
M scripts/tracetool/format/h.py
M scripts/tracetool/format/log_stap.py
M scripts/tracetool/format/simpletrace_stap.py
M scripts/tracetool/format/stap.py
M scripts/tracetool/format/ust_events_c.py
M scripts/tracetool/format/ust_events_h.py
Log Message:
-----------
treewide: remove unnessary "coding" header
The "-*- coding: utf-8 -*-" header was needed in Python 2,
but in Python 3 UTF-8 is already the default encoding of
source files.
It is even less necessary in .css files that do not have UTF-8
sequences at all.
Suggested-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 6f94ad27f0014c04a2aa403988acc22740a21196
https://github.com/qemu/qemu/commit/6f94ad27f0014c04a2aa403988acc22740a21196
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/__init__.py
M scripts/tracetool/backend/__init__.py
M scripts/tracetool/backend/dtrace.py
M scripts/tracetool/backend/ftrace.py
M scripts/tracetool/backend/log.py
M scripts/tracetool/backend/simple.py
M scripts/tracetool/backend/syslog.py
M scripts/tracetool/backend/ust.py
M scripts/tracetool/format/__init__.py
M scripts/tracetool/format/c.py
M scripts/tracetool/format/d.py
M scripts/tracetool/format/h.py
M scripts/tracetool/format/log_stap.py
M scripts/tracetool/format/simpletrace_stap.py
M scripts/tracetool/format/stap.py
M scripts/tracetool/format/ust_events_c.py
M scripts/tracetool/format/ust_events_h.py
Log Message:
-----------
tracetool: add SPDX headers
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 02d4a4a674d45d41c9afd1fd161c14eca81f7a86
https://github.com/qemu/qemu/commit/02d4a4a674d45d41c9afd1fd161c14eca81f7a86
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/ftrace.py
M tests/tracetool/ftrace.h
M trace/ftrace.c
M trace/ftrace.h
Log Message:
-----------
trace/ftrace: move snprintf+write from tracepoints to ftrace.c
This simplifies the Python code and reduces the size of the tracepoints.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 809caa0d40a853144c02456737ed1e47859b0308
https://github.com/qemu/qemu/commit/809caa0d40a853144c02456737ed1e47859b0308
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/__init__.py
M scripts/tracetool/format/h.py
Log Message:
-----------
tracetool: add CHECK_TRACE_EVENT_GET_STATE
Add a new attribute CHECK_TRACE_EVENT_GET_STATE to the backends.
When present and True, the code generated by the generate function
is wrapped in a conditional that checks whether the event is enabled;
this removes the need for repeating the same conditional in multiple
backends.
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 494492c5c5a145e04f3ebc9eb40fd34ffbcc2061
https://github.com/qemu/qemu/commit/494492c5c5a145e04f3ebc9eb40fd34ffbcc2061
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/ftrace.py
M scripts/tracetool/backend/log.py
M scripts/tracetool/backend/simple.py
M scripts/tracetool/backend/syslog.py
M tests/tracetool/log.h
Log Message:
-----------
tracetool/backend: remove redundant trace event checks
Use CHECK_TRACE_EVENT_GET_STATE in log, syslog, dtrace and simple
backend, so that the "if (trace_event_get_state)" is created from common
code and unified when multiple backends are active.
When a single backend is active there is no code change (except
for the log backend, as shown in tests/tracetool/log.h), but the
code in the backends is simpler.
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: e2e182bef73f24d885f7f2ca589d8ec004c24877
https://github.com/qemu/qemu/commit/e2e182bef73f24d885f7f2ca589d8ec004c24877
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/__init__.py
A scripts/tracetool/format/rs.py
Log Message:
-----------
tracetool: Add Rust format support
Generating .rs files makes it possible to support tracing in rust.
This support comprises a new format, and common code that converts
the C expressions in trace-events to Rust. In particular, types
need to be converted, and PRI macros expanded.
As of this commit no backend generates Rust code, but it is already
possible to use tracetool to generate Rust sources; they are not
functional but they compile and contain tracepoint functions.
[Move Rust argument conversion from Event to Arguments; string
support. - Paolo]
Signed-off-by: Tanish Desai <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 54140102d2e57bd2e34823e4537d2191cdcd5f08
https://github.com/qemu/qemu/commit/54140102d2e57bd2e34823e4537d2191cdcd5f08
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M rust/Cargo.lock
M rust/Cargo.toml
M rust/meson.build
A rust/trace/Cargo.toml
A rust/trace/meson.build
A rust/trace/src/lib.rs
M trace/meson.build
Log Message:
-----------
rust: add trace crate
The trace crate is a minimal container for dependencies of tracepoints
(so that they do not have to be imported in all the crates that use
tracepoints); it also contains a macro called "include_trace!" that is
able to find the right include file from the trace/ directory.
[Write commit message, add #[allow()]. - Paolo]
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: fe791b4004cbdc64bee6cb69ba4a98513879945d
https://github.com/qemu/qemu/commit/fe791b4004cbdc64bee6cb69ba4a98513879945d
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M rust/hw/core/src/qdev.rs
Log Message:
-----------
rust: qdev: add minimal clock bindings
Add the minimal support that is needed by pl011's event and tracepoint.
Reviewed-by: Zhao Liu <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 357f92697971b5a52bb38248405c40afcc355a1d
https://github.com/qemu/qemu/commit/357f92697971b5a52bb38248405c40afcc355a1d
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M hw/char/trace-events
M rust/Cargo.lock
M rust/hw/char/pl011/Cargo.toml
M rust/hw/char/pl011/meson.build
M rust/hw/char/pl011/src/device.rs
Log Message:
-----------
rust: pl011: add tracepoints
Finally bring parity between C and Rust versions of the PL011 device model.
Changing some types of the arguments makes for nicer Rust code; C does not
care. :)
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 42f73f264a9fc0b1d38d84e8e716e69e929d6697
https://github.com/qemu/qemu/commit/42f73f264a9fc0b1d38d84e8e716e69e929d6697
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/simple.py
A tests/tracetool/simple.rs
M tests/tracetool/tracetool-test.py
Log Message:
-----------
tracetool/simple: add Rust support
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 75871d88d3ddf310dd5ffb1d36c8476959692726
https://github.com/qemu/qemu/commit/75871d88d3ddf310dd5ffb1d36c8476959692726
Author: Paolo Bonzini <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M include/qemu/log-for-trace.h
M include/qemu/log.h
M rust/util/src/log.rs
M util/log.c
Log Message:
-----------
log: change qemu_loglevel to unsigned
Bindgen makes the LOG_* constants unsigned, even if they are defined as
(1 << 15):
pub const LOG_TRACE: u32 = 32768;
Make them unsigned in C as well through the BIT() macro, and also change
the type of the variable that they are used with.
Reviewed-by: Manos Pitsidianakis <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: c4e8d44bac5cecebba9bb7293b4256bd57e9f52e
https://github.com/qemu/qemu/commit/c4e8d44bac5cecebba9bb7293b4256bd57e9f52e
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/log.py
A tests/tracetool/log.rs
M tests/tracetool/tracetool-test.py
Log Message:
-----------
tracetool/log: add Rust support
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 7dbee1274266b802456c7f07dc10184af2dc1ec0
https://github.com/qemu/qemu/commit/7dbee1274266b802456c7f07dc10184af2dc1ec0
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M scripts/tracetool/backend/ftrace.py
A tests/tracetool/ftrace.rs
M tests/tracetool/tracetool-test.py
Log Message:
-----------
tracetool/ftrace: add Rust support
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 1461752f0fa4bcd7e60d51fe47e3430f8a81cdd8
https://github.com/qemu/qemu/commit/1461752f0fa4bcd7e60d51fe47e3430f8a81cdd8
Author: Tanish Desai <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M rust/Cargo.lock
M rust/trace/Cargo.toml
M rust/trace/src/lib.rs
M scripts/tracetool/backend/syslog.py
A tests/tracetool/syslog.rs
M tests/tracetool/tracetool-test.py
Log Message:
-----------
tracetool/syslog: add Rust support
The syslog backend needs the syslog function from libc and the LOG_INFO enum
value; they are re-exported as "::trace::syslog" and "::trace::LOG_INFO"
so that device crates do not all have to add the libc dependency, but
otherwise there is nothing special.
Signed-off-by: Tanish Desai <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 030cd885563e9ca843a46ec7e65b657c93df5af7
https://github.com/qemu/qemu/commit/030cd885563e9ca843a46ec7e65b657c93df5af7
Author: Thomas Huth <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/bios-tables-test.c
M tests/qtest/cpu-plug-test.c
M tests/qtest/riscv-csr-test.c
Log Message:
-----------
tests/qtest: Add missing checks for the availability of machines
When QEMU has been compiled with "--without-default-devices", the
machines might not be available in the binary. Let's properly check
for the machines before running the tests to avoid that they are
failing in this case.
Signed-off-by: Thomas Huth <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: bfa07595eb6652a3b2599bb2eb3a82f14f75497b
https://github.com/qemu/qemu/commit/bfa07595eb6652a3b2599bb2eb3a82f14f75497b
Author: Thomas Huth <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/migration/cpr-tests.c
M tests/qtest/migration/framework.c
M tests/qtest/migration/framework.h
Log Message:
-----------
tests/qtest/migration: Fix cpr-tests in case the machine is not available
When QEMU has been compiled with "--without-default-devices", the
migration cpr-tests are currently failing since the first test leaves
a socket file behind that avoids that the second test can be initialized
correctly. Make sure that we delete the socket file in case that the
migrate_start() failed due to the missing machine.
Signed-off-by: Thomas Huth <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: e16d7a732124ccaf9960920a9b64f4cf95f8fdab
https://github.com/qemu/qemu/commit/e16d7a732124ccaf9960920a9b64f4cf95f8fdab
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/libqtest.c
Log Message:
-----------
tests/qtest: optimize qtest_get_machines
qtest_get_machines returns the machines supported by the QEMU binary
described by an environment variable and caches the result. If the
next call to qtest_get_machines passes the same variable name, the cached
result is returned, but if the name changes, the caching is defeated.
To make caching more effective, remember the path of the QEMU binary
instead. Different env vars, eg QTEST_QEMU_BINARY_SRC and
QTEST_QEMU_BINARY_DST, usually resolve to the same path.
Before the optimization, the test /x86_64/migration/precopy/unix/plain
exec's QEMU and calls query-machines 3 times. After optimization, that
only happens once. This does not significantly speed up the tests, but
it reduces QTEST_LOG output, and launches fewer QEMU instances, making
it easier to debug problems.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Message-ID: <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: 8e9f9981d6846515b2540439a80a0e16f93d4bd3
https://github.com/qemu/qemu/commit/8e9f9981d6846515b2540439a80a0e16f93d4bd3
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/libqtest.c
M tests/qtest/libqtest.h
Log Message:
-----------
tests/qtest: export qtest_qemu_binary
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: b4a21e457409f972abca2818d78cdf22d59544f5
https://github.com/qemu/qemu/commit/b4a21e457409f972abca2818d78cdf22d59544f5
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/libqtest.c
M tests/qtest/libqtest.h
Log Message:
-----------
tests/qtest: qtest_qemu_args
Define an accessor that returns all the arguments used to exec QEMU.
Collect the arguments that were passed to qtest_spawn_qemu, plus the trace
arguments that were composed inside qtest_spawn_qemu, and move them to a
new function qtest_qemu_args.
This will be needed to test the cpr-exec migration mode.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: bf64633510b2a13268425a3eb78500bc88898bb8
https://github.com/qemu/qemu/commit/bf64633510b2a13268425a3eb78500bc88898bb8
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/libqtest.c
Log Message:
-----------
tests/qtest: qtest_create_test_state
Refactor qtest_spawn_qemu and create a subroutine to create a QTestState
object, to be used in a subsequent patch.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: e9fbd9e6b15a054f2b7eee757f6c9b11d4132044
https://github.com/qemu/qemu/commit/e9fbd9e6b15a054f2b7eee757f6c9b11d4132044
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/libqtest.c
Log Message:
-----------
tests/qtest: qtest_qemu_spawn_func
Allow the qtest_qemu_spawn caller to pass the function to be called
to perform the spawn. The opaque argument is needed by a new spawn
function in a subsequent patch.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: 5419f36e9eb3ec155cd3762a691c92fcfca48958
https://github.com/qemu/qemu/commit/5419f36e9eb3ec155cd3762a691c92fcfca48958
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/libqtest.c
M tests/qtest/libqtest.h
Log Message:
-----------
tests/qtest: qtest_init_after_exec
Define a function to create a QTestState object representing the state
of QEMU after old QEMU exec's new QEMU. This is needed for testing
the cpr-exec migration mode.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: 0a3aeedb39aee0d20a954650b2956cfbc0a7c566
https://github.com/qemu/qemu/commit/0a3aeedb39aee0d20a954650b2956cfbc0a7c566
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/migration/framework.c
M tests/qtest/migration/framework.h
Log Message:
-----------
migration-test: only_source option
Add the only_source option, analogous to only_target.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: c454a8d254570eba3c38e2e0b4e9f3f6d9daff4f
https://github.com/qemu/qemu/commit/c454a8d254570eba3c38e2e0b4e9f3f6d9daff4f
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/migration/framework.c
Log Message:
-----------
migration-test: shm path accessor
Define an accessor for the shm path. It will be referenced from
multiple sites in a subsequent patch.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: bdd739a42c121aefa35bcfd6583c03d95a44c18f
https://github.com/qemu/qemu/commit/bdd739a42c121aefa35bcfd6583c03d95a44c18f
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/migration/bootfile.c
M tests/qtest/migration/bootfile.h
M tests/qtest/migration/framework.c
M tests/qtest/migration/framework.h
Log Message:
-----------
migration-test: misc exports
Export misc definitions needed by the cpr-exec test.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: aca1533cd84edbbb084d5e201463ae480eb3877c
https://github.com/qemu/qemu/commit/aca1533cd84edbbb084d5e201463ae480eb3877c
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/migration/framework.c
M tests/qtest/migration/framework.h
Log Message:
-----------
migration-test: migrate_args
Define the subroutine migrate_args to return the arguments that are
used to exec the source or target qemu process.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: ca5be51a51fc6b6402838310ae8d0162fc03ecef
https://github.com/qemu/qemu/commit/ca5be51a51fc6b6402838310ae8d0162fc03ecef
Author: Steve Sistare <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/migration/migration-qmp.c
M tests/qtest/migration/migration-qmp.h
Log Message:
-----------
migration-test: strv parameter
Define migrate_set_parameter_strv.
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link:
https://lore.kernel.org/qemu-devel/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>
Commit: f665537f1543050cb9e756d4affff10cdf92b7ed
https://github.com/qemu/qemu/commit/f665537f1543050cb9e756d4affff10cdf92b7ed
Author: Richard Henderson <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M hw/cxl/cxl-host.c
M hw/display/virtio-gpu.c
M hw/misc/ivshmem-flat.c
M hw/net/virtio-net.c
M hw/remote/vfio-user-obj.c
M include/exec/gdbstub.h
M include/qapi/error.h
M include/system/os-win32.h
M io/channel-socket.c
M io/channel-watch.c
M migration/cpr.c
M monitor/hmp-cmds.c
M net/slirp.c
M tcg/region.c
M tests/unit/test-error-report.c
M ui/dbus-listener.c
M ui/gtk.c
M ui/qemu-pixman.c
M ui/spice-core.c
M util/aio-win32.c
M util/error.c
M util/oslib-win32.c
Log Message:
-----------
Merge tag 'pull-error-2025-09-30-v2' of https://repo.or.cz/qemu/armbru into
staging
Error reporting patches for 2025-09-30
# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmjczNQSHGFybWJydUBy
# ZWRoYXQuY29tAAoJEDhwtADrkYZTX3kP/1doayteIqVfNLYJn8EDIU6ccZgAsdVw
# GLHkxSikaBBzjJoG2ebadGusmX8F5H16/KG4vpilP1WHuIw73QRiCFJduFmfFjU/
# SCagaj58PPZaiNJeydN8dSHIDyLLAbIpI1xqdFObBgVKl37E7nZ2uatjKwopmK69
# iV7y39Xcs6wu4gVsz5IH3FC+CdzctWfjjkZbkk3PeNj+Nt7q22RvbB0Rf30P9SBo
# FWnh3UEDz2VIlnuIFSAAXQfJ0+h2l9L0yZ05RnVyMM8rZ72v393X8h/jgEo0ETHI
# eNnJHh/pKL6I+vq10aM/mMgj5fRsly+CsAmjC+11ULg7ybDUMbEU32Ftqeylo2HS
# ZkGw20egEgzMldC5yELTgTjMPCGF9VWWwNNH9OWM58w9ZCyjDb9wDw1uaHU3Tc15
# TZaBwcCGEc/atRFHfWD66oK/KcDrFnWETr6qi9fPJ2SJxiHjHbJe/eNQaxxrEZCu
# 1OntcQdL46Ef1LeQGzhgLNlKyAxq9V9ybh8gPD4yhCK5NCNub2NvWj/CLlnxGJwH
# JHZRRXvVoBPlIMSMydGPV8RHkfUr4NMgHql5Y+VykheEBcg+ThZ2JSjS7avwzCHM
# 5dSUeV+YcvhQN2sojH4xdnUUJWxAAEM1SirkaHTHWZoDKagfjHu3SEYwNyIIchhi
# BAfRdd94Lxpg
# =tlEf
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 30 Sep 2025 11:40:20 PM PDT
# gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg: issuer "[email protected]"
# gpg: Good signature from "Markus Armbruster <[email protected]>" [unknown]
# gpg: aka "Markus Armbruster <[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: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653
* tag 'pull-error-2025-09-30-v2' of https://repo.or.cz/qemu/armbru:
error: Kill @error_warn
ivshmem-flat: Mark an instance of missing error handling FIXME
ui/dbus: Consistent handling of texture mutex failure
ui/dbus: Clean up dbus_update_gl_cb() error checking
ui/pixman: Consistent error handling in qemu_pixman_shareable_free()
util/oslib-win32: Do not treat null @errp as &error_warn
ui/spice-core: Clean up error reporting
net/slirp: Clean up error reporting
hw/remote/vfio-user: Clean up error reporting
migration/cpr: Clean up error reporting in cpr_resave_fd()
hw/cxl: Convert cxl_fmws_link() to Error
tcg: Fix error reporting on mprotect() failure in tcg_region_init()
monitor: Clean up HMP gdbserver error reporting
Signed-off-by: Richard Henderson <[email protected]>
Commit: 1abdde1ad42d0ebccc5e8bc574ebe805cd650102
https://github.com/qemu/qemu/commit/1abdde1ad42d0ebccc5e8bc574ebe805cd650102
Author: Richard Henderson <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M docs/conf.py
M docs/sphinx-static/theme_overrides.css
M hw/char/trace-events
M include/qemu/log-for-trace.h
M include/qemu/log.h
M rust/Cargo.lock
M rust/Cargo.toml
M rust/hw/char/pl011/Cargo.toml
M rust/hw/char/pl011/meson.build
M rust/hw/char/pl011/src/device.rs
M rust/hw/core/src/qdev.rs
M rust/meson.build
A rust/trace/Cargo.toml
A rust/trace/meson.build
A rust/trace/src/lib.rs
M rust/util/src/log.rs
M scripts/analyse-locks-simpletrace.py
M scripts/modinfo-collect.py
M scripts/modinfo-generate.py
M scripts/oss-fuzz/minimize_qtest_trace.py
M scripts/oss-fuzz/output_reproducer.py
M scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py
M scripts/probe-gdb-support.py
M scripts/qapi/error.py
M scripts/qapi/expr.py
M scripts/qapi/gen.py
M scripts/qapi/parser.py
M scripts/qapi/schema.py
M scripts/qemu-plugin-symbols.py
M scripts/qemugdb/tcg.py
M scripts/qemugdb/timers.py
M scripts/replay-dump.py
M scripts/tracetool.py
M scripts/tracetool/__init__.py
M scripts/tracetool/backend/__init__.py
M scripts/tracetool/backend/dtrace.py
M scripts/tracetool/backend/ftrace.py
M scripts/tracetool/backend/log.py
M scripts/tracetool/backend/simple.py
M scripts/tracetool/backend/syslog.py
M scripts/tracetool/backend/ust.py
M scripts/tracetool/format/__init__.py
M scripts/tracetool/format/c.py
M scripts/tracetool/format/d.py
M scripts/tracetool/format/h.py
M scripts/tracetool/format/log_stap.py
A scripts/tracetool/format/rs.py
M scripts/tracetool/format/simpletrace_stap.py
M scripts/tracetool/format/stap.py
M scripts/tracetool/format/ust_events_c.py
M scripts/tracetool/format/ust_events_h.py
M tests/tracetool/ftrace.h
A tests/tracetool/ftrace.rs
M tests/tracetool/log.h
A tests/tracetool/log.rs
A tests/tracetool/simple.rs
A tests/tracetool/syslog.rs
M tests/tracetool/tracetool-test.py
M trace/ftrace.c
M trace/ftrace.h
M trace/meson.build
M util/log.c
Log Message:
-----------
Merge tag 'tracing-pull-request' of https://gitlab.com/stefanha/qemu into
staging
Pull request
Tanish Desai and Paolo Bonzini's tracing Rust support.
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmjdSSIACgkQnKSrs4Gr
# c8h8hwf/RXawMzImGn3I2kTOUWAQ97+yY0UgtyO010K71gypBa2EBcPIVH0ZOsy0
# oT5pF2w7k0g83DXqupXiZO3yjSSmeGBXlOw8QS6D+FN0VpsdxrYJnvzVMqCckOrR
# 6wwM+fYYfCk/LwQFvjcMDdd6BSB/wUyMuBnh+fa8X9vxRL6CgMY7RpQd7YZ9JNtL
# PFQscu/K6zUARxwQ/DZTx5jYlW4rE5O4mq80CW2l1pgnyOH5vH/TySTKp0yX8eDO
# 5eoF7ttieOxxt6YobFak7EfWFvFuyp1j5NlWlyWKzhce1oSOAbaXnB1I61admRb3
# 7XrsTU0RjH6kp8ki4SZEoAh/HMw+4w==
# =myWt
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 01 Oct 2025 08:30:42 AM PDT
# gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <[email protected]>" [unknown]
# gpg: aka "Stefan Hajnoczi <[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: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8
* tag 'tracing-pull-request' of https://gitlab.com/stefanha/qemu:
tracetool/syslog: add Rust support
tracetool/ftrace: add Rust support
tracetool/log: add Rust support
log: change qemu_loglevel to unsigned
tracetool/simple: add Rust support
rust: pl011: add tracepoints
rust: qdev: add minimal clock bindings
rust: add trace crate
tracetool: Add Rust format support
tracetool/backend: remove redundant trace event checks
tracetool: add CHECK_TRACE_EVENT_GET_STATE
trace/ftrace: move snprintf+write from tracepoints to ftrace.c
tracetool: add SPDX headers
treewide: remove unnessary "coding" header
tracetool: remove dead code
tracetool: fix usage of try_import()
Signed-off-by: Richard Henderson <[email protected]>
Commit: 517e9b4862cc9798b7a24b1935d94c2f96787f12
https://github.com/qemu/qemu/commit/517e9b4862cc9798b7a24b1935d94c2f96787f12
Author: Richard Henderson <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M tests/qtest/bios-tables-test.c
M tests/qtest/cpu-plug-test.c
M tests/qtest/libqtest.c
M tests/qtest/libqtest.h
M tests/qtest/migration/bootfile.c
M tests/qtest/migration/bootfile.h
M tests/qtest/migration/cpr-tests.c
M tests/qtest/migration/framework.c
M tests/qtest/migration/framework.h
M tests/qtest/migration/migration-qmp.c
M tests/qtest/migration/migration-qmp.h
M tests/qtest/riscv-csr-test.c
Log Message:
-----------
Merge tag 'qtest-20251001-pull-request' of https://gitlab.com/farosas/qemu
into staging
Qtest pull request
- Fix for qtest_get_machines QEMU var caching
- Fixes for migration-test in --without-default-devices build
- Preparation patches for cpr-exec test
# -----BEGIN PGP SIGNATURE-----
#
# iQJEBAABCAAuFiEEqhtIsKIjJqWkw2TPx5jcdBvsMZ0FAmjdoeoQHGZhcm9zYXNA
# c3VzZS5kZQAKCRDHmNx0G+wxnUGMEACQuy8eGVnh7ni9rDpJxyyUoKAKlNI9+7c+
# 2bi/e+pT26Od5/ExznVOoDlEFFoogQZiVDqxZ3wBB0SziEn41+Wm8SSV6Tto7eNy
# qqVZuYymWUY+MmAeL7RKY+EuVV3Y1a/2lS+w04dCSQYrWf9rr9AX8xdDDln/ebqm
# F1sUhVKO7PA05O3Sw6M1G32l27r6WCsVRliz46gl5MHmmWe4YRR72Eoi3gTsXIkT
# CiEmT9EjOkHykSkgekiN+jgLiAO1pwcaU7Cf4ENhYouBjW9kL46LCmMS+7pcQ1LG
# 2UuXhR3+Ws0ukAUmcJthMRMssjy0OGr845DjiTmOFnbiiUKX9CysuTIIlM+xbDN4
# m/IomtxXAnEncQcUO4vgv81eyGFRtn/Mx9Zdo/x8dtNc6Lh62zqsMj7lp8sjatR/
# DScPTRCRxAUQiY6YMIrJH38m7XLyIaG+oCzg1+EBllmHLoQTtPE4hQHz4MDRj0RA
# aKAvQsucQ/8LxHV9va4W5epVrdP54Yw040QbTnN5XdH4U06yv4pfpBnCw4RYFPj2
# l5TZSNE2WmjeOfT/FERjJWXEXbvcEWoPZMWOc0r1qYGqEAhIui69n//H28EZ2DAE
# QEzNJLBqu4t7U+pw5h1QW5YFdkVZIfmDOx3+SlA/tNcLTQ/a2gzAWkr0AKIzddH9
# ZOGP6b4wFw==
# =OSa5
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 01 Oct 2025 02:49:30 PM PDT
# gpg: using RSA key AA1B48B0A22326A5A4C364CFC798DC741BEC319D
# gpg: issuer "[email protected]"
# gpg: Good signature from "Fabiano Rosas <[email protected]>" [unknown]
# gpg: aka "Fabiano Almeida Rosas <[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: AA1B 48B0 A223 26A5 A4C3 64CF C798 DC74 1BEC 319D
* tag 'qtest-20251001-pull-request' of https://gitlab.com/farosas/qemu:
migration-test: strv parameter
migration-test: migrate_args
migration-test: misc exports
migration-test: shm path accessor
migration-test: only_source option
tests/qtest: qtest_init_after_exec
tests/qtest: qtest_qemu_spawn_func
tests/qtest: qtest_create_test_state
tests/qtest: qtest_qemu_args
tests/qtest: export qtest_qemu_binary
tests/qtest: optimize qtest_get_machines
tests/qtest/migration: Fix cpr-tests in case the machine is not available
tests/qtest: Add missing checks for the availability of machines
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/29b77c1a2db2...517e9b4862cc
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications