<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/qemu.git/rust, branch stable-11.0</title>
<subtitle>QEMU main repository</subtitle>
<id>https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=stable-11.0</id>
<link rel='self' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/atom?h=stable-11.0'/>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/'/>
<updated>2026-03-30T09:36:25+00:00</updated>
<entry>
<title>hpet: lower HPET_MAX_TIMERS to 24</title>
<updated>2026-03-30T09:36:25+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-03-27T20:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=7be175e65f07bdf93f5f576d1dbb5f993c97cd5c'/>
<id>urn:sha1:7be175e65f07bdf93f5f576d1dbb5f993c97cd5c</id>
<content type='text'>
Each timer block occupies 32 bytes, but they only start at
offset 256 of the 1024-byte MMIO register space.  Therefore
the correct limit for HPET_MAX_TIMERS is 24, not 32.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: Update Cargo.lock</title>
<updated>2026-03-12T11:02:55+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2026-03-09T17:24:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=37f3410ba4dfc0537fe7d31bfbecb204bfa12c50'/>
<id>urn:sha1:37f3410ba4dfc0537fe7d31bfbecb204bfa12c50</id>
<content type='text'>
Update Cargo.lock on top of commit  7ecd3f71079 ("Merge tag
'for-upstream' of https://gitlab.com/bonzini/qemu into staging").

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Link: https://lore.kernel.org/r/20260309172440.66409-1-philmd@linaro.org
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/timer/hpet: Remove HPETState::hpet_offset_saved field</title>
<updated>2026-03-09T15:02:24+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2025-05-01T21:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=85379af1202264c46322218d8c2937aaf3daa3ea'/>
<id>urn:sha1:85379af1202264c46322218d8c2937aaf3daa3ea</id>
<content type='text'>
The HPETState::hpet_offset_saved boolean was only set in the
hw_compat_2_11[] array, via the 'hpet-offset-saved=false'
property. We removed all machines using that array, let's remove
that property and all the code around it.

Message-ID: &lt;20250501230129.2596-6-philmd@linaro.org&gt;
[thuth: Adapted the rust part to the current master branch]
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Zhao Liu &lt;zhao1.liu@intel.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-ID: &lt;20260306093134.27789-1-thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>util: introduce some API docs for logging APIs</title>
<updated>2026-03-05T17:40:24+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2025-09-24T09:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=e43c84813f96a496403a869973acd1a4278fec3c'/>
<id>urn:sha1:e43c84813f96a496403a869973acd1a4278fec3c</id>
<content type='text'>
There is a gotcha with qemu_log() usage in a threaded process.
If fragments of a log message are output via qemu_log() it is
possible for messages from two threads to get mixed up. To
prevent this qemu_log_trylock() should be used, along with
fprintf(f) calls.

This is a subtle problem that needs to be explained in the
API docs to ensure correct usage.

In the Rust code, the log_mask_ln method which is conceptually
equivalent to the C qemu_log() call will unconditionally append
a newline so must only ever be used for complete log messages.

Reported-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: use checked_div to make clippy happy</title>
<updated>2026-02-27T13:48:04+00:00</updated>
<author>
<name>John Snow</name>
<email>jsnow@redhat.com</email>
</author>
<published>2026-02-19T18:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=062acfffe5c07940ec0c419d7e353b46c0514c92'/>
<id>urn:sha1:062acfffe5c07940ec0c419d7e353b46c0514c92</id>
<content type='text'>
When upgrading from Fedora 41 to Fedora 43 for CI tests, clippy begins
complaining about not using checked_div instead of manually checking
divisors. Make clippy happy and use checked_div() instead.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Link: https://lore.kernel.org/r/20260219185409.708130-2-jsnow@redhat.com
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust/hpet: remove stale TODO comment</title>
<updated>2026-01-27T09:37:11+00:00</updated>
<author>
<name>Mohd Kashif Khan</name>
<email>kashif04x@gmail.com</email>
</author>
<published>2026-01-26T21:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=df8dfc3b6080713c2dbd7ef37c2c85a78e502cd6'/>
<id>urn:sha1:df8dfc3b6080713c2dbd7ef37c2c85a78e502cd6</id>
<content type='text'>
The irq binding is already implemented in the following line, so the TODO comment is obsolete.

Signed-off-by: Mohd Kashif Khan &lt;kashif04x@gmail.com&gt;
Reviewed-by: Zhao Liu &lt;zhao1.liu@intel.com&gt;
Link: https://lore.kernel.org/r/20260126210910.28889-1-kashif04x@gmail.com
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: move hwcore::sysbus to system crate</title>
<updated>2026-01-27T07:57:52+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-01-14T08:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=1713498c0d7f41ce81387e47d60db0d8420f6233'/>
<id>urn:sha1:1713498c0d7f41ce81387e47d60db0d8420f6233</id>
<content type='text'>
This inverts the dependency from hwcore to system, replacing it with
a dependency from system to hwcore.  It also matches how hw/core/sysbus.h
is part of the system-sys crate, and hw/core/sysbus.c is part of system_ss
on the C side.

This fixes a linker error in hwcore integration tests on msys2.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: move binding generation to bindings/</title>
<updated>2026-01-27T07:57:52+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2025-12-03T15:46:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=c899071b5a86fca3c59e5abe04deaa3c9d77edb6'/>
<id>urn:sha1:c899071b5a86fca3c59e5abe04deaa3c9d77edb6</id>
<content type='text'>
Move raw FFI bindings generation to separate crates.  This makes it
possible to reuse bindgen declarations for a header file in its
dependencies (this was not the case before this change), while keeping
multiple -sys crates to avoid rebuilding all the code whenever
something changes.

Because the -sys crates are generated in dependency order, this also
enforces that the crates are organized in something that resembles
the dependencies between C headers.

The meson.build for rust-safe crates becomes simpler, and it should be
possible in the future to let Meson's cargo support handle most of it.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
[General cleanup and Python script. - Paolo]
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: move class_init to an extension trait</title>
<updated>2026-01-27T07:57:52+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-01-14T08:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=f9bbbde1ed1d38a78b1c62b3295e436412592dd5'/>
<id>urn:sha1:f9bbbde1ed1d38a78b1c62b3295e436412592dd5</id>
<content type='text'>
Prepare for having ObjectClass, DeviceClass and SysbusDeviceClass
defined outside the hwcore and qom crates.  It then becomes
impossible to add a method to them.

Extracted from a patch by Marc-André Lureau.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>rust: hwcore: add chardev symbols to integration tests</title>
<updated>2026-01-27T07:57:52+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-01-14T08:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/virt/qemu/qemu.git/commit/?id=e07927260472cf4a24435f9e88f329d514501502'/>
<id>urn:sha1:e07927260472cf4a24435f9e88f329d514501502</id>
<content type='text'>
Even though they are not used, rustc does not elide its symbols on msys2.
This causes a linker error.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
