<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/qemu.git, branch stable-8.2</title>
<subtitle>QEMU main repository</subtitle>
<id>https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/atom?h=stable-8.2</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/atom?h=stable-8.2'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/'/>
<updated>2025-03-26T09:13:28+00:00</updated>
<entry>
<title>Update version for 8.2.10 release</title>
<updated>2025-03-26T09:13:28+00:00</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2025-03-26T09:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=f671ce11d2a15a58ab752d7cf0b2890c9022c7ba'/>
<id>urn:sha1:f671ce11d2a15a58ab752d7cf0b2890c9022c7ba</id>
<content type='text'>
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>hw/misc/aspeed_hace: Fix buffer overflow in has_padding function</title>
<updated>2025-03-24T20:49:58+00:00</updated>
<author>
<name>Jamin Lin</name>
<email>jamin_lin@aspeedtech.com</email>
</author>
<published>2025-03-21T09:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=a2d22778addb41facaa7553386c4c39dc4c47499'/>
<id>urn:sha1:a2d22778addb41facaa7553386c4c39dc4c47499</id>
<content type='text'>
The maximum padding size is either 64 or 128 bytes and should always be smaller
than "req_len". If "padding_size" exceeds "req_len", then
"req_len - padding_size" underflows due to "uint32_t" data type, leading to a
large incorrect value (e.g., `0xFFXXXXXX`). This causes an out-of-bounds memory
access, potentially leading to a buffer overflow.

Added a check to ensure "padding_size" does not exceed "req_len" before
computing "pad_offset". This prevents "req_len - padding_size" from underflowing
and avoids accessing invalid memory.

Signed-off-by: Jamin Lin &lt;jamin_lin@aspeedtech.com&gt;
Reviewed-by: Cédric Le Goater &lt;clg@redhat.com&gt;
Fixes: 5cd7d8564a8b563da724b9e6264c967f0a091afa ("aspeed/hace: Support AST2600 HACE ")
Link: https://lore.kernel.org/qemu-devel/20250321092623.2097234-3-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater &lt;clg@redhat.com&gt;
(cherry picked from commit 78877b2e06464f49f777e086845e094ea7bc82ef)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>target/ppc: Fix e200 duplicate SPRs</title>
<updated>2025-03-24T05:01:16+00:00</updated>
<author>
<name>Nicholas Piggin</name>
<email>npiggin@gmail.com</email>
</author>
<published>2025-03-20T12:24:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=d63f951f4746f080fbdc11e577f1fba931be8cdc'/>
<id>urn:sha1:d63f951f4746f080fbdc11e577f1fba931be8cdc</id>
<content type='text'>
DSRR0/1 registers are in the BookE ISA not e200 specific, so
remove the duplicate e200 register definitions.

Cc: Roman Kapl &lt;rka@sysgo.com&gt;
Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2768
Fixes: 0e3bf4890906 ("ppc: add DBCR based debugging")
Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
(cherry picked from commit 73c0c904fc99e2ceecbbded84ec76d40d3f2daae)
(Mjt: context fix for
 v9.0.0-935-g581eea5d656b "target/ppc: Split off common embedded TLB init")
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>linux-user/riscv: Fix handling of cpu mask in riscv_hwprobe syscall</title>
<updated>2025-03-24T04:49:26+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2025-03-08T22:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=3011e4e44188604d8e642cb3edeae045bb23b731'/>
<id>urn:sha1:3011e4e44188604d8e642cb3edeae045bb23b731</id>
<content type='text'>
The third argument of the syscall contains the size of the
cpu mask in bytes, not bits.  Nor is the size rounded up to
a multiple of sizeof(abi_ulong).

Cc: qemu-stable@nongnu.org
Reported-by: Andreas Schwab &lt;schwab@suse.de&gt;
Fixes: 9e1c7d982d7 ("linux-user/riscv: Add syscall riscv_hwprobe")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-ID: &lt;20250308225902.1208237-3-richard.henderson@linaro.org&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
(cherry picked from commit 1a010d22b7adecf0fb1c069e1e535af1aa51e9cf)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>docs/about/emulation: Fix broken link</title>
<updated>2025-03-24T04:44:59+00:00</updated>
<author>
<name>Santiago Monserrat Campanello</name>
<email>santimonserr@gmail.com</email>
</author>
<published>2025-03-05T10:26:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=0a9b500839d19d70d8900a20383502c7fa254fa0'/>
<id>urn:sha1:0a9b500839d19d70d8900a20383502c7fa254fa0</id>
<content type='text'>
semihosting link to risc-v changed

Signed-off-by: Santiago Monserrat Campanello &lt;santimonserr@gmail.com&gt;
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2717
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-ID: &lt;20250305102632.91376-1-santimonserr@gmail.com&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
(cherry picked from commit 672cb29d1e811180bf1aeefbcb0936ecd5bd3853)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>vdpa: Allow vDPA to work on big-endian machine</title>
<updated>2025-03-22T07:52:51+00:00</updated>
<author>
<name>Konstantin Shkolnyy</name>
<email>kshk@linux.ibm.com</email>
</author>
<published>2025-02-21T19:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=4d25ad254b1dfbdd02c5dbc8dd4b3c3be417a82c'/>
<id>urn:sha1:4d25ad254b1dfbdd02c5dbc8dd4b3c3be417a82c</id>
<content type='text'>
Add .set_vnet_le() function that always returns success, assuming that
vDPA h/w always implements LE data format. Otherwise, QEMU disables vDPA and
outputs the message:
"backend does not support LE vnet headers; falling back on userspace virtio"

Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Acked-by: Eugenio Pérez &lt;eperezma@redhat.com&gt;
Signed-off-by: Konstantin Shkolnyy &lt;kshk@linux.ibm.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
(cherry picked from commit b027f55a994af885a7a498a40373a2dcc2d8b15e)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>vdpa: Fix endian bugs in shadow virtqueue</title>
<updated>2025-03-22T07:52:51+00:00</updated>
<author>
<name>Konstantin Shkolnyy</name>
<email>kshk@linux.ibm.com</email>
</author>
<published>2025-02-12T16:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=ca12e95f1329b74c5fdaf0d92f38110129831090'/>
<id>urn:sha1:ca12e95f1329b74c5fdaf0d92f38110129831090</id>
<content type='text'>
VDPA didn't work on a big-endian machine due to missing/incorrect
CPU&lt;-&gt;LE data format conversions.

Signed-off-by: Konstantin Shkolnyy &lt;kshk@linux.ibm.com&gt;
Message-Id: &lt;20250212164923.1971538-1-kshk@linux.ibm.com&gt;
Fixes: 10857ec0ad ("vhost: Add VhostShadowVirtqueue")
Acked-by: Eugenio Pérez &lt;eperezma@redhat.com&gt;
Tested-by: Lei Yang &lt;leiyang@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
(cherry picked from commit 50e9754149066dc91f58405d3378b589098cb408)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Fix vldi inst</title>
<updated>2025-03-22T07:52:51+00:00</updated>
<author>
<name>Guo Hongyu</name>
<email>guohongyu24@mails.ucas.ac.cn</email>
</author>
<published>2024-12-19T12:23:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=79600085615561420deddf330680e9914ffa9322'/>
<id>urn:sha1:79600085615561420deddf330680e9914ffa9322</id>
<content type='text'>
Refer to the link below for a description of the vldi instructions:
https://jia.je/unofficial-loongarch-intrinsics-guide/lsx/misc/#synopsis_88
Fixed errors in vldi instruction implementation.

Signed-off-by: Guo Hongyu &lt;guohongyu24@mails.ucas.ac.cn&gt;
Tested-by: Xianglai Li &lt;lixianglai@loongson.cn&gt;
Signed-off-by: Xianglai Li &lt;lixianglai@loongson.cn&gt;
Reviewed-by: Bibo Mao &lt;maobibo@loongson.cn&gt;
Signed-off-by: Bibo Mao &lt;maobibo@loongson.cn&gt;
(cherry picked from commit 02ce6cea71be4f6774351f5e658d50044c5b53b2)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2865
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>target/arm: Simplify pstate_sm check in sve_access_check</title>
<updated>2025-03-22T07:52:51+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2025-03-07T19:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=e4246579107450bdc21bf75e1f7196202d41f756'/>
<id>urn:sha1:e4246579107450bdc21bf75e1f7196202d41f756</id>
<content type='text'>
In StreamingMode, fp_access_checked is handled already.
We cannot fall through to fp_access_check lest we fall
foul of the double-check assertion.

Cc: qemu-stable@nongnu.org
Fixes: 285b1d5fcef ("target/arm: Handle SME in sve_access_check")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20250307190415.982049-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
[PMM: move declaration of 'ret' to top of block]
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
(cherry picked from commit cc7abc35dfa790ba6c20473c03745428c1c626b6)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>target/arm: Make DisasContext.{fp, sve}_access_checked tristate</title>
<updated>2025-03-22T07:52:51+00:00</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2025-03-07T19:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/virt/qemu/qemu.git/commit/?id=8691abc96438c1fc8f75ba45cd84a54060b31489'/>
<id>urn:sha1:8691abc96438c1fc8f75ba45cd84a54060b31489</id>
<content type='text'>
The check for fp_excp_el in assert_fp_access_checked is
incorrect.  For SME, with StreamingMode enabled, the access
is really against the streaming mode vectors, and access
to the normal fp registers is allowed to be disabled.
C.f. sme_enabled_check.

Convert sve_access_checked to match, even though we don't
currently check the exception state.

Cc: qemu-stable@nongnu.org
Fixes: 3d74825f4d6 ("target/arm: Add SME enablement checks")
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20250307190415.982049-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
(cherry picked from commit 298a04998fa4a6dc977abe9234d98dfcdab98423)
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
</feed>
