<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/qemu.git/trace, branch master</title>
<subtitle>QEMU main repository</subtitle>
<id>https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=master</id>
<link rel='self' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/'/>
<updated>2026-08-29T08:07:45+00:00</updated>
<entry>
<title>build-sys: make HMP source files conditional on have_hmp</title>
<updated>2026-08-29T08:07:45+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=34c5de5c6d6049b7cd0d475a32da8760f35c0ab5'/>
<id>urn:sha1:34c5de5c6d6049b7cd0d475a32da8760f35c0ab5</id>
<content type='text'>
Exclude all *-hmp-cmds.c files and HMP-only source files from the
build when HMP is disabled.

Also conditionalise the hmp-commands.hx header generation and the
test-hmp qtest.

Acked-by: Dr. David Alan Gilbert &lt;dave@treblig.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@oss.qualcomm.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-45-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>monitor: tighten monitor_printf*()</title>
<updated>2026-08-29T08:07:45+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=f3900cfb0cddd2fcc3b9db20f52f3755e6ed962f'/>
<id>urn:sha1:f3900cfb0cddd2fcc3b9db20f52f3755e6ed962f</id>
<content type='text'>
Rename monitor_printf-&gt;monitor_hmp_printf, monitor_vprintf-&gt;
monitor_hmp_vprintf, and monitor_printc-&gt;monitor_hmp_printc, changing
the first parameter from Monitor * to MonitorHMP * to enforce type
safety. The implementation is also simplified: monitor_hmp_vprintf now
directly calls g_strdup_vprintf + monitor_puts, removing the virtual
dispatch via moncls-&gt;vprintf.

The dev_print() callbacks are temporarily using the MONITOR_HMP(mon)
cast, they are fixed in the following commits.

Early return in qemu_vprintf() if "hmp" is NULL, relying on
monitor_hmp_vprintf() handling NULL case is a bit uncommon.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@oss.qualcomm.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-37-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>monitor: change HMPCommand cmd to take MonitorHMP</title>
<updated>2026-08-29T08:07:44+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=139ffc1039d9f23cc2d948d45183d0932595c73a'/>
<id>urn:sha1:139ffc1039d9f23cc2d948d45183d0932595c73a</id>
<content type='text'>
HMP commands are specific to the HMP monitor, so make the cmd function
pointer in HMPCommand take MonitorHMP * instead of Monitor *. This
strengthens type safety and makes the HMP-specific nature of these
handlers explicit.

Handler functions are renamed to take MonitorHMP *hmp, with a local
Monitor *mon = MONITOR(hmp) added where the body needs the base type.
Following patches will drop it, since most functions are HMP specific.

Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Jason J. Herne &lt;jjherne@linux.ibm.com&gt;
Reviewed-by: Dr. David Alan Gilbert &lt;dave@treblig.org&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-31-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>monitor: isolate HMP declarations in hmp.h</title>
<updated>2026-08-29T08:07:44+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2026-08-28T12:04:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=cd70266709383af01a24bdbadc5c42de9ef5d76a'/>
<id>urn:sha1:cd70266709383af01a24bdbadc5c42de9ef5d76a</id>
<content type='text'>
Also rename password &amp; commands with hmp in the name, while at it.
Other functions need larger changes which we will take care of next.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@oss.qualcomm.com&gt;
Reviewed-by: Dr. David Alan Gilbert &lt;dave@treblig.org&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-ID: &lt;20260828-qemu-no-hmp-v5-30-9227de146347@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace/control: Fix -Wunused-but-set-global warning with clang 23+</title>
<updated>2026-06-18T15:01:40+00:00</updated>
<author>
<name>Tom Stellard</name>
<email>tstellar@redhat.com</email>
</author>
<published>2026-06-17T22:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=c0f8130a31759f75335466074f80dba6de2b1a16'/>
<id>urn:sha1:c0f8130a31759f75335466074f80dba6de2b1a16</id>
<content type='text'>
../trace/control.c:41:13: error: variable 'init_trace_on_startup' set but not used [-Werror,-Wunused-but-set-global]
   41 | static bool init_trace_on_startup;
      |             ^
1 error generated.

Signed-off-by: Tom Stellard &lt;tstellar@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-id: 20260617224145.1419961-1-tstellar@redhat.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>monitor: Extract completion declarations to 'monitor/hmp-completion.h'</title>
<updated>2026-05-06T10:58:07+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2026-03-20T09:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=17dc3ae3e1075307410d74fe42d530002ed1bf91'/>
<id>urn:sha1:17dc3ae3e1075307410d74fe42d530002ed1bf91</id>
<content type='text'>
Many files include "monitor/hmp.h", but few of them really need
the completion declarations: move them to a distinct header.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Pierrick Bouvier &lt;pierrick.bouvier@linaro.org&gt;
Message-Id: &lt;20260320160811.28611-2-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>rust: add trace crate</title>
<updated>2025-10-01T15:22:07+00:00</updated>
<author>
<name>Tanish Desai</name>
<email>tanishdesai37@gmail.com</email>
</author>
<published>2025-09-29T15:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=54140102d2e57bd2e34823e4537d2191cdcd5f08'/>
<id>urn:sha1:54140102d2e57bd2e34823e4537d2191cdcd5f08</id>
<content type='text'>
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 &lt;tanishdesai37@gmail.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-ID: &lt;20250929154938.594389-10-pbonzini@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace/ftrace: move snprintf+write from tracepoints to ftrace.c</title>
<updated>2025-10-01T15:22:07+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2025-09-29T15:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=02d4a4a674d45d41c9afd1fd161c14eca81f7a86'/>
<id>urn:sha1:02d4a4a674d45d41c9afd1fd161c14eca81f7a86</id>
<content type='text'>
This simplifies the Python code and reduces the size of the tracepoints.

Reviewed-by: Manos Pitsidianakis &lt;manos.pitsidianakis@linaro.org&gt;
Reviewed-by: Zhao Liu &lt;zhao1.liu@intel.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-ID: &lt;20250929154938.594389-6-pbonzini@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: fix Windows build</title>
<updated>2025-06-16T17:16:27+00:00</updated>
<author>
<name>oltolm</name>
<email>oleg.tolmatcev@gmail.com</email>
</author>
<published>2025-06-12T22:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=9761ad5f65d23f080b5a3479e52196fbce2e1506'/>
<id>urn:sha1:9761ad5f65d23f080b5a3479e52196fbce2e1506</id>
<content type='text'>
The build fails on Windows. Replace calls to Unix programs like ´cat´,
´sed´ and ´true´ with calls to ´python´ and wrap calls to
´os.path.relpath´ in try-except because it can fail when the two paths
are on different drives. Make sure to convert the Windows paths to Unix
paths to prevent warnings in generated files.

Signed-off-by: oltolm &lt;oleg.tolmatcev@gmail.com&gt;
Message-id: 20250612221521.1109-2-oleg.tolmatcev@gmail.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace/control-target: cleanup headers and make compilation unit common</title>
<updated>2025-03-11T02:11:29+00:00</updated>
<author>
<name>Pierrick Bouvier</name>
<email>pierrick.bouvier@linaro.org</email>
</author>
<published>2025-03-05T05:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=a506a1b16702aae69a43e782f225bdc0ec6545fc'/>
<id>urn:sha1:a506a1b16702aae69a43e782f225bdc0ec6545fc</id>
<content type='text'>
Signed-off-by: Pierrick Bouvier &lt;pierrick.bouvier@linaro.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Tested-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-ID: &lt;20250305050716.3460989-1-pierrick.bouvier@linaro.org&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
</feed>
