All autopkgtests for the newly accepted qemu (1:9.0.2+ds-4ubuntu5.3) for
oracular have finished running.
The following regressions have been reported in tests triggered by the package:
casper/1.502 (amd64)
glance/2:29.0.0-0ubuntu1 (amd64)
nova/unknown (s390x)
sbuild/0.85.10ubuntu1 (ppc64el)
Ple
On 4/10/2025 8:11 AM, Alexey Kardashevskiy wrote:
>
>
> On 9/4/25 22:57, Chenyi Qiang wrote:
>>
>>
>> On 4/9/2025 5:56 PM, Alexey Kardashevskiy wrote:
>>>
>>>
>>> On 7/4/25 17:49, Chenyi Qiang wrote:
RamDiscardManager is an interface used by virtio-mem to adjust VFIO
mappings in rela
On Sun, Mar 30, 2025 at 06:32:24PM -0700, Dongli Zhang wrote:
> Date: Sun, 30 Mar 2025 18:32:24 -0700
> From: Dongli Zhang
> Subject: [PATCH v3 05/10] target/i386/kvm: extract unrelated code out of
> kvm_x86_build_cpuid()
> X-Mailer: git-send-email 2.43.5
>
> The initialization of 'has_architect
On 4/9/2025 5:58 PM, Alexey Kardashevskiy wrote:
>
>
> On 7/4/25 17:49, Chenyi Qiang wrote:
>> Subsystems like VFIO previously disabled ram block discard and only
>> allowed coordinated discarding via RamDiscardManager. However,
>> guest_memfd in confidential VMs relies on discard operations f
Steven Sistare writes:
> On 4/9/2025 10:44 AM, Markus Armbruster wrote:
>> Steven Sistare writes:
>>
>>> On 4/9/2025 9:34 AM, Markus Armbruster wrote:
Steven Sistare writes:
> On 4/9/2025 3:39 AM, Markus Armbruster wrote:
[...]
Anyway, asking you to fix design mistakes all over
Hi all,
> Subject: [PATCH v1 0/9] Support vbootrom for AST2700
>
> v1:
> Add initial support for AST27x0
> The purpose of vbootrom here is to simulate the work of BootMCU SPL
> (riscv)
> in AST2700, because QEMU doesn't support heterogenous architecture yet.
>
> ast27x0_bootrom.bin is a
Two discard alignment issues were identified in
https://issues.redhat.com/browse/RHEL-86032:
1. pdiscard_alignment is not populated for host_device in file-posix.c.
2. Misaligned head/tail discard requests are not skipped when file-posix.c
returns -EINVAL. This causes an undesired pause when gue
Changes since previous "misc hexagon patches" series (v2):
- changed author to match MAINTAINERS (I was fooled by the mailmap before --
so, for real this time).
Brian Cain (5):
target/hexagon: handle .new values
target/hexagon: Fix badva reference, delete CAUSE
target/hexagon: Add missing A
Introduce a functional test which boots Debian 12 on the imx8mp-evk board. Since
the root filesystem resides on an SD card, the test also verifies the basic
operation of the USDHC.
Signed-off-by: Bernhard Beschow
--
v2:
* Make test file executable (Thomas)
* Omit fetch() (Thomas)
* Omit "-accel
The BADVA reg is referred to with the wrong identifier. The
CAUSE reg field of SSR is not yet modeled.
Signed-off-by: Brian Cain
---
target/hexagon/cpu.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c
index 766b678651..62f1fe15b
John improved looks and usabilibity of the QAPI-generated manuals quite
a bit. These are
QEMU QMP Reference Manual
QEMU Storage Daemon QMP Reference Manual
QEMU Guest Agent Protocol Reference
Where should it go? https://wiki.qemu.org/ChangeLog/10.0 has no section
dedicated to the ma
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.0 for any
user-visible changes.
signature.asc
Description: PGP signature
On 09.04.25 13:48, Markus Armbruster wrote:
Vladimir Sementsov-Ogievskiy writes:
For now we only log the vhost device error, when virtqueue is actually
stopped. Let's add a QAPI event, which makes possible:
- collect statistics of such errors
- make immediate actions: take core dumps or d
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 16
target/arm/cpu.c | 15 +--
target/arm/cpu.h | 2 --
target/arm/cpu64.c
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 5 +-
target/arm/cpu-features.h | 10 ++--
target/arm/cpu.c | 8 +--
target/arm/cpu.h | 3 -
target/arm/c
Steven Sistare writes:
> On 4/9/2025 9:34 AM, Markus Armbruster wrote:
>> Steven Sistare writes:
>>> On 4/9/2025 3:39 AM, Markus Armbruster wrote:
Hi Steve, I apologize for the slow response.
Steve Sistare writes:
> Using qom-list and qom-get to get all the nodes and pro
From: Eric Auger
This new header contains macros that define aarch64 registers.
In a subsequent patch, this will be replaced by a more exhaustive
version that will be generated from linux arch/arm64/tools/sysreg
file. Those macros are sufficient to migrate the storage of those
ID regs from named
Hi, John
On 4/9/25 21:48, John Levon wrote:
> Refactor the PCI config setup code out of vfio_realize() for
> readability.
>
> Reviewed-by: Cédric Le Goater
> Signed-off-by: John Levon
> ---
> hw/vfio/pci.c | 176 +++---
> 1 file changed, 94 insertion
On 4/8/25 14:40, Amit Machhiwal wrote:
Hi,
This patch series addresses two aspects in vfio_spapr_create_window() that
includes the enhancement in error handling in this function and also fixes an
issue with KVM guests (L2) inside a pSeries logical partition (LPAR) with larger
memory configuratio
On 09.04.25 19:22, Vladimir Sementsov-Ogievskiy wrote:
[offlist]
Hah, decided to send offlist, but forget to clear CC. Sorry. However, nothing
secret here.
Moreover, interesting, what do all think about a cpr-exec variant with loading
QEMU as library instead of doing exec.
On 15.01.25 22:
On 09.04.25 20:48, Steven Sistare wrote:
On 4/9/2025 12:22 PM, Vladimir Sementsov-Ogievskiy wrote:
On 15.01.25 22:00, Steve Sistare wrote:
This patch series implements a minimal version of cpr-transfer. Additional
series are ready to be posted to deliver the complete vision described
above, i
The variable "sram_name" was only used for naming the SRAM memory region.
Rename it to "name" for consistency with similar code and avoid unnecessary
new local variable declarations.
Signed-off-by: Jamin Lin
---
hw/arm/aspeed_ast27x0.c | 8
1 file changed, 4 insertions(+), 4 deletions(-
On 4/8/25 11:47 PM, Klaus Jensen wrote:
On Apr 8 15:56, Alan Adamson wrote:
While testing Linux atomic writes with qemu-nvme v10.0.0-rc1, Linux was
incorrectly displaying atomic_write_max_bytes
# cat /sys/block/nvme0n1/queue/atomic_write_max_bytes
0
# nvme id-ctrl /dev/nvme0n1 | grep awupf
aw
On 9/4/25 22:57, Chenyi Qiang wrote:
On 4/9/2025 5:56 PM, Alexey Kardashevskiy wrote:
On 7/4/25 17:49, Chenyi Qiang wrote:
RamDiscardManager is an interface used by virtio-mem to adjust VFIO
mappings in relation to VM page assignment. It manages the state of
populated and discard for the
On Wed, Apr 09, 2025 at 11:38:01PM +0800, Tomita Moeko wrote:
> On 4/9/25 21:48, John Levon wrote:
> > Refactor the PCI config setup code out of vfio_realize() for
> > readability.
> > +if (!vfio_msix_early_setup(vdev, errp)) {
> > +return false;
> > +}
> > +
> > +vfio_bars_re
Hi Igor,
On 4/9/25 11:05, Igor Mammedov wrote:
On Fri, 4 Apr 2025 00:01:22 -0300
Gustavo Romero wrote:
Hi Phil,
On 4/3/25 17:40, Philippe Mathieu-Daudé wrote:
We are going to fix the test_acpi_aarch64_virt_tcg_its_off()
test. In preparation, copy the ACPI tables which will be
altered as 'it
On 4/9/25 21:48, John Levon wrote:
> Add these helpers that access config space and return an -errno style
> return.
>
> Signed-off-by: John Levon
> ---
> hw/vfio/pci.c | 134 ++
> 1 file changed, 91 insertions(+), 43 deletions(-)
>
> diff --git a
[offlist]
On 15.01.25 22:00, Steve Sistare wrote:
This patch series implements a minimal version of cpr-transfer. Additional
series are ready to be posted to deliver the complete vision described
above, including
* vfio
* chardev
* vhost and tap
* blockers
* cpr-exec mode
Hi St
On 2025-04-09 07:49, Thomas Huth wrote:
On 03/04/2025 14.49, Shalini Chellathurai Saroja wrote:
On 2025-04-02 09:52, Thomas Huth wrote:
On 31/03/2025 16.00, Shalini Chellathurai Saroja wrote:
Add Control-Program Identification (CPI) device to QOM only when the
virtual
machine supports CPI. CPI
On 4/9/2025 5:56 PM, Alexey Kardashevskiy wrote:
>
>
> On 7/4/25 17:49, Chenyi Qiang wrote:
>> RamDiscardManager is an interface used by virtio-mem to adjust VFIO
>> mappings in relation to VM page assignment. It manages the state of
>> populated and discard for the RAM. To accommodate future
Introduce the kvm-pmu-filter object and support the PMU event with raw
format.
The raw format, as a native PMU event code representation, can be used
for several architectures.
Signed-off-by: Zhao Liu
Tested-by: Yi Lai
---
Changes since RFC v2:
* Drop hexadecimal variants and support numeric v
For change, pause, resume, complete, dismiss and finalize actions
corresponding job- and block-job commands are almost equal. The
difference is in find_block_job_locked() vs find_job_locked()
functions. What's different?
1. find_block_job_locked() checks whether the found job is a block-job.
Th
On Wed, Apr 09, 2025 at 11:51:09PM +0800, Tomita Moeko wrote:
> On 4/9/25 21:48, John Levon wrote:
> > Add these helpers that access config space and return an -errno style
> > return.
> >
> > Signed-off-by: John Levon
> > ---
> > hw/vfio/pci.c | 134 ++--
Hi Kohei,
On 7/4/25 16:45, Kohei Tokunaga wrote:
On emscripten, function pointer casts can cause function call failure.
This commit fixes the function definition to match to the type of the
function call.
- qtest_set_command_cb passed to g_once should match to GThreadFunc
- object_class_cmp and
On Mon, Apr 07, 2025 at 11:45:51PM +0900, Kohei Tokunaga wrote:
> This patch series enables QEMU's system emulator to run in a browser using
> Emscripten.
> It includes implementations and workarounds to address browser environment
> limitations, as shown in the following.
I think it would be grea
On 4/9/2025 10:44 AM, Markus Armbruster wrote:
Steven Sistare writes:
On 4/9/2025 9:34 AM, Markus Armbruster wrote:
Steven Sistare writes:
On 4/9/2025 3:39 AM, Markus Armbruster wrote:
Hi Steve, I apologize for the slow response.
Steve Sistare writes:
Using qom-list and qom-get to get
Vladimir Sementsov-Ogievskiy writes:
> On 09.04.25 13:48, Markus Armbruster wrote:
>> Vladimir Sementsov-Ogievskiy writes:
>>
>>> For now we only log the vhost device error, when virtqueue is actually
>>> stopped. Let's add a QAPI event, which makes possible:
>>>
>>> - collect statistics of s
On 4/9/25 23:54, John Levon wrote:
> On Wed, Apr 09, 2025 at 11:51:09PM +0800, Tomita Moeko wrote:
>
>> On 4/9/25 21:48, John Levon wrote:
>>> Add these helpers that access config space and return an -errno style
>>> return.
>>>
>>> Signed-off-by: John Levon
>>> ---
>>> hw/vfio/pci.c | 134 +
Steven Sistare writes:
> On 4/9/2025 3:39 AM, Markus Armbruster wrote:
>> Hi Steve, I apologize for the slow response.
>>
>> Steve Sistare writes:
>>
>>> Using qom-list and qom-get to get all the nodes and property values in a
>>> QOM tree can take multiple seconds because it requires 1000's o
Use the new flags parameter to indicate when we want to unmap
everything; no functional change is intended.
Signed-off-by: John Levon
---
hw/vfio/container.c | 49 -
hw/vfio/iommufd.c | 19 +-
hw/vfio/listener.c | 19 ++--
On Wed, Apr 09, 2025 at 09:39:02 +0200, Markus Armbruster via Devel wrote:
> Hi Steve, I apologize for the slow response.
>
> Steve Sistare writes:
>
> > Using qom-list and qom-get to get all the nodes and property values in a
> > QOM tree can take multiple seconds because it requires 1000's of
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 74 +++
target/arm/cpu.h | 4 ---
target/arm/cpu64.c| 8 ++---
target/arm/h
On 4/9/2025 12:22 PM, Vladimir Sementsov-Ogievskiy wrote:
On 15.01.25 22:00, Steve Sistare wrote:
This patch series implements a minimal version of cpr-transfer. Additional
series are ready to be posted to deliver the complete vision described
above, including
* vfio
* chardev
* vhost
Hello Dimitry, or anyone else affected,
Accepted qemu into oracular-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/qemu/1:9.0.2+ds-4ubuntu5.3 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https
Hello Dimitry, or anyone else affected,
Accepted qemu into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/qemu/1:8.2.2+ds-0ubuntu1.7 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://
Given this possible regression:
* This changes the alignment of sections in the ELF binary via QEMUs
elfloader, if something goes wrong
with this change, it could lead to all kind of crashes (segfault) of any
emulated binaries.
Is there something we could do to mitigate it? Perhaps a q
All autopkgtests for the newly accepted qemu (1:8.2.2+ds-0ubuntu1.7) for noble
have finished running.
The following regressions have been reported in tests triggered by the package:
glance/2:28.1.0-0ubuntu1 (amd64, arm64, ppc64el)
livecd-rootfs/24.04.87 (s390x)
Please visit the excuses page lis
Hi Dongli,
The logic is fine for me :-) And thank you to take my previous
suggestion. When I revisit here after these few weeks, I have some
thoughts:
> +if (pmu_cap) {
> +if ((pmu_cap & KVM_PMU_CAP_DISABLE) &&
> +!X86_CPU(cpu)->enable_pmu) {
> +
Fix following two issues in the amd viommu
1. The guest fails to setup the device when pt_supported=on, because
amd iommu enables the no DMA memory region even when device is using DMA
remapping mode.
2. The guest fails to boot with xtsup=on and <= 255 vCPUs, because amd_iommu
does not ena
Introduce a new "vbootrom" field in the AspeedMachineClass to indicate whether
a machine supports the virtual boot ROM region.
Set this field to true by default for the AST2700-A0 and AST2700-A1 EVB
machines.
Signed-off-by: Jamin Lin
---
include/hw/arm/aspeed.h | 1 +
hw/arm/aspeed.c |
The boot ROM is a minimal implementation designed to load an AST27x0 boot image.
Its source code is available at:
https://github.com/google/vbootrom
Signed-off-by: Jamin Lin
---
MAINTAINERS | 1 +
pc-bios/README | 6 ++
pc-bios/ast27x0_bootrom.bin | Bin 0 ->
v1:
Add initial support for AST27x0
The purpose of vbootrom here is to simulate the work of BootMCU SPL (riscv)
in AST2700, because QEMU doesn't support heterogenous architecture yet.
ast27x0_bootrom.bin is a simplified, free (Apache 2.0) boot ROM for
ASPEED AST27x0 BMC SOC. It currentl
The variable "sram_name" was only used for naming the SRAM memory region.
Rename it to "name" for consistency with similar code and avoid unnecessary
new local variable declarations.
Signed-off-by: Jamin Lin
---
hw/arm/aspeed_ast27x0.c | 8
1 file changed, 4 insertions(+), 4 deletions(-
Move the declaration of `rom_size` to an outer scope in aspeed_machine_init()
so it can be reused for setting up the vbootrom region as well.
This avoids introducing a redundant local variable and ensures consistent
ROM sizing logic when both SPI boot and vbootrom are used.
Signed-off-by: Jamin L
Introduce a new vbootrom memory region. The region is mapped at address
"0x" and has a size of 128KB, identical to the SRAM region size.
This memory region is intended for loading a vbootrom image file as part of the
boot process.
The vbootrom region is initialized as ROM and registered in
Refactor the AST2700 functional test to boot using the vbootrom image
instead of manually loading boot components with -device loader.
The boot ROM binary is now passed via the
-bios option, using the image located in pc-bios/ast27x0_bootrom.bin.
Signed-off-by: Jamin Lin
---
tests/functional/tes
Introduced ASPEED_DEV_VBOOTROM into the ASPEED device enumeration to support a
virtual boot ROM.
Signed-off-by: Jamin Lin
---
include/hw/arm/aspeed_soc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/hw/arm/aspeed_soc.h b/include/hw/arm/aspeed_soc.h
index f069d17d16..37cd7cd793 100
Using the vbootrom image instead of manually loading boot components with
-device loader. The boot ROM binary is now passed via the -bios option,
using the image located in pc-bios/ast27x0_bootrom.bin.
Signed-off-by: Jamin Lin
---
docs/system/arm/aspeed.rst | 18 --
1 file change
Introduce "aspeed_load_vbootrom()" to support loading a virtual boot ROM image
into the vbootrom memory region, using the "-bios" command-line option.
Signed-off-by: Jamin Lin
---
hw/arm/aspeed.c | 32
1 file changed, 32 insertions(+)
diff --git a/hw/arm/aspeed.
On 4/9/2025 5:56 PM, Alexey Kardashevskiy wrote:
>
>
> On 7/4/25 17:49, Chenyi Qiang wrote:
>> To manage the private and shared RAM states in confidential VMs,
>> introduce a new class of PrivateShareManager as a child of
>
> missing "d" in "PrivateShareManager"
Fixed. Thanks!
>
>
>> Gene
On 09/04/2025 22.26, Bernhard Beschow wrote:
Introduce a functional test which boots Debian 12 on the imx8mp-evk board. Since
the root filesystem resides on an SD card, the test also verifies the basic
operation of the USDHC.
Signed-off-by: Bernhard Beschow
--
v2:
* Make test file executable (
> On 9 Apr 2025, at 11:51 AM, Gerd Hoffman wrote:
>
> Hi,
>
>>> The chicken-and-egg problem arises if you go for hashing and want embed
>>> the igvm file in the UKI.
>>
>> I don't really see how signing the IGVM file for secure boot helps anything.
>
> It doesn't help indeed. This comes f
On Wed, Apr 9, 2025 at 9:44 AM Markus Armbruster wrote:
>
> John improved looks and usabilibity of the QAPI-generated manuals quite
> a bit. These are
>
> QEMU QMP Reference Manual
> QEMU Storage Daemon QMP Reference Manual
> QEMU Guest Agent Protocol Reference
>
> Where should it go?
On Fri, 4 Apr 2025 00:01:22 -0300
Gustavo Romero wrote:
> Hi Phil,
>
> On 4/3/25 17:40, Philippe Mathieu-Daudé wrote:
> > We are going to fix the test_acpi_aarch64_virt_tcg_its_off()
> > test. In preparation, copy the ACPI tables which will be
> > altered as 'its_off' variants, and whitelist the
On 4/9/2025 9:34 AM, Markus Armbruster wrote:
Steven Sistare writes:
On 4/9/2025 3:39 AM, Markus Armbruster wrote:
Hi Steve, I apologize for the slow response.
Steve Sistare writes:
Using qom-list and qom-get to get all the nodes and property values in a
QOM tree can take multiple seconds
From: Eric Auger
Introduce scripts that automate the generation of system register
definitions from a given linux source tree arch/arm64/tools/sysreg.
Invocation of
./update-aarch64-sysreg-code.sh $PATH_TO_LINUX_SOURCE_TREE
in scripts directory generates target/arm/cpu-sysregs.h.inc
containing d
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 12 ++--
target/arm/cpu-features.h | 36 +-
target/arm/cpu.c | 24 +++
target/arm/cpu.h | 7 --
Generated against Linux 6.14-rc1.
Reviewed-by: Sebastian Ott
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h.inc | 43 +---
1 file changed, 30 insertions(+), 13 deletions(-)
diff --git a/target/arm/cpu-sysregs.h.inc b/target/arm/cpu-sysregs.h.inc
index
Populate the pdiscard_alignment block limit so the block layer is able
align discard requests correctly.
Signed-off-by: Stefan Hajnoczi
---
block/file-posix.c | 56 +-
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/block/file-posix.c b/b
When guests send misaligned discard requests, the block layer breaks
them up into a misaligned head, an aligned main body, and a misaligned
tail.
The file-posix block driver on Linux returns -EINVAL on misaligned
discard requests. This causes bdrv_co_pdiscard() to fail and guests
configured with w
From: Pierrick Bouvier
We perform a plugin reset, uninstall, and make sure we went through
those steps.
Signed-off-by: Pierrick Bouvier
Message-Id: <20250404032027.430575-3-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
diff --git a/tests/tcg/plugins/reset.c b/tests/tcg/plugins/reset
From: Pierrick Bouvier
Reported and fixed by Dmitry Kurakin.
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2901
Signed-off-by: Pierrick Bouvier
Message-Id: <20250404032027.430575-2-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
diff --git a
The following changes since commit c302660920acf48425a1317d56122ea8af60fbc4:
Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging
(2025-04-08 09:59:33 -0400)
are available in the Git repository at:
https://gitlab.com/stsquad/qemu.git tags/pull-10.0-final-fixes-090425-1
fo
We don't expect to hit exceptions in our testing so currently all the
vectors report an un-expected exception and then attempt to exit.
However for aarch64 we should always use the extended information
block as we do in _exit. Rather than duplicate the code on the error
handler just branch to the _
Just a quick respin to fix a missed conversion in hvf.c.
Also available at
https://gitlab.com/cohuck/qemu/-/commits/arm-rework-idreg-storage-v5
Next iteration of the id register patches; only small changes.
Changed from v3:
- added R-bs (thanks!)
- added missing SPDX header
- merged patch intro
On Mon, Apr 7, 2025 at 2:39 AM Michael S. Tsirkin wrote:
>
> On Thu, May 25, 2023 at 10:20:11PM +, T.J. Alumbaugh wrote:
> > This is the device implementation for the proposed expanded balloon feature
> > described here:
> >
> > https://lore.kernel.org/linux-mm/20230509185419.1088297-1-yuan...
On 4/9/25 12:55, Philippe Mathieu-Daudé wrote:
Cc'ing Pierrick
On 7/4/25 16:45, Kohei Tokunaga wrote:
has_int128_type is set to false on emscripten as of now to avoid errors by
libffi.
What is the error here? How hard would it be to test for it?
And tests aren't integrated with Wasm execut
> Eh TBH this is too much to review as a single patch.
>
> Do you already have an idea how different the wasm64 implementation can
be?
Sorry for the large patch. I'll split it into smaller patches in the next
version of the series.
With wasm64, instructions that manipulate pointers (e.g., ld/st,
Hi, this series is based on Cédric Le Goater's vfio cleanup series:
https://github.com/legoater/qemu/commits/vfio-10.1
The series contains patches to vfio to prepare for the vfio-user
implementation. A previous version of these patches can be found at
https://lore.kernel.org/all/7dd34008-e0f1-4eed
Add a helper similar to vfio_device_get_region_info() and use it
everywhere.
Replace a couple of needless allocations with stack variables.
As a side-effect, this fixes a minor error reporting issue in the call
from vfio_msix_early_setup().
Signed-off-by: John Levon
---
hw/vfio/ap.c
Commonize some initialization code shared by the legacy and iommufd vfio
implementations.
Signed-off-by: John Levon
---
hw/vfio/container.c | 14 ++
hw/vfio/device.c | 14 ++
hw/vfio/iommufd.c | 9 +
include/hw/vfio/vfio-device.
Refactor the interrupt setup code out of vfio_realize() for readability.
Signed-off-by: John Levon
---
hw/vfio/pci.c | 55 +++
1 file changed, 34 insertions(+), 21 deletions(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 05a7a62204..02f23efab
We'll use this parameter shortly; this just adds the plumbing.
Signed-off-by: John Levon
---
hw/vfio/container-base.c | 4 ++--
hw/vfio/container.c | 8 ++--
hw/vfio/iommufd.c | 6 +-
hw/vfio/listener.c| 8
i
Allow attachment by explicitly passing a TYPE_VFIO_IOMMU_* string;
vfio-user will use this later.
Signed-off-by: John Levon
---
hw/vfio/device.c | 24
include/hw/vfio/vfio-device.h | 3 +++
2 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/hw/
Split out parts of TYPE_VFIO_PCI into a base TYPE_VFIO_PCI_BASE. The
base type contains properties generic to all vfio-pci implementations
(although we have not yet introduced another subclass).
Note that currently there is no need for additional data for
TYPE_VFIO_PCI, so it shares the same C str
For vfio-user, device operations such as IRQ handling and region
read/writes are implemented in userspace over the control socket, not
ioctl() or read()/write() to the vfio kernel driver; add an ops vector
to generalize this, and implement vfio_device_io_ops_ioctl for
interacting with the kernel vf
Pass through the MemoryRegion to DMA operation handlers of vfio
containers. The vfio-user container will need this later.
Originally-by: John Johnson
Signed-off-by: Jagannathan Raman
Signed-off-by: Elena Ufimtseva
Signed-off-by: John Levon
---
hw/vfio/container-base.c | 4 ++--
Instead of requesting region information on demand with
VFIO_DEVICE_GET_REGION_INFO, maintain a cache: this will become
necessary for performance for vfio-user, where this call becomes a
message over the control socket, so is of higher overhead than the
traditional path.
We will also need it to ge
The vfio-user container will later need to hook into these callbacks;
set up vfio to use them, and optionally pass them through to the
container.
Signed-off-by: John Levon
---
hw/vfio/listener.c| 28 +++
include/hw/vfio/vfio-container-base.h | 2 ++
2
Add these helpers that access config space and return an -errno style
return.
Signed-off-by: John Levon
---
hw/vfio/pci.c | 134 ++
1 file changed, 91 insertions(+), 43 deletions(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index ddeee33aa9..c384
Various bits of code that call vfio device APIs should consistently use
the "return -errno" approach for passing errors back, rather than
presuming errno is (still) set correctly.
Signed-off-by: John Levon
---
hw/vfio/pci.c | 30 +-
1 file changed, 17 insertions(+), 1
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 2 +-
target/arm/cpu-features.h | 16
target/arm/cpu.c | 13 +
target/arm/cpu.h |
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 40 -
target/arm/cpu.c | 29
target/arm/cpu.h | 2 --
On Apr 8 15:56, Alan Adamson wrote:
> While testing Linux atomic writes with qemu-nvme v10.0.0-rc1, Linux was
> incorrectly displaying atomic_write_max_bytes
> # cat /sys/block/nvme0n1/queue/atomic_write_max_bytes
> 0
> # nvme id-ctrl /dev/nvme0n1 | grep awupf
> awupf : 15
> #
> Since AWUPF w
On Tue, Apr 8, 2025 at 2:46 PM Jason Wang wrote:
>
> On Tue, Apr 8, 2025 at 2:13 PM Cindy Lu wrote:
> >
> > When using a VDPA device, it is important to ensure that the MAC
> > address is correctly set. The MAC address in the hardware should
> > match the MAC address from the QEMU command line. T
On 4/9/2025 1:43 PM, Alexey Kardashevskiy wrote:
>
>
> On 7/4/25 17:49, Chenyi Qiang wrote:
>> Update ReplayRamDiscard() function to return the result and unify the
>> ReplayRamPopulate() and ReplayRamDiscard() to ReplayStateChange() at
>> the same time due to their identical definitions. This
On Tue, Apr 8, 2025 at 2:48 PM Jason Wang wrote:
>
> On Tue, Apr 8, 2025 at 2:14 PM Cindy Lu wrote:
> >
> > For VDPA devices, Allow configurations where both the hardware MAC address
> > and QEMU command line MAC address are zero.
> >
>
> Let's explain why this can work.
>
> Thanks
>
Sure, will d
On 4/9/2025 2:45 PM, Alexey Kardashevskiy wrote:
>
>
> On 9/4/25 16:26, Chenyi Qiang wrote:
>>
>>
>> On 4/9/2025 10:47 AM, Alexey Kardashevskiy wrote:
>>>
>>> On 7/4/25 17:49, Chenyi Qiang wrote:
Rename the helper to memory_region_section_intersect_range() to make it
more generic. Me
Hi Steve, I apologize for the slow response.
Steve Sistare writes:
> Using qom-list and qom-get to get all the nodes and property values in a
> QOM tree can take multiple seconds because it requires 1000's of individual
> QOM requests. Some managers fetch the entire tree or a large subset
> of
On Tue, Apr 8, 2025 at 2:38 PM Jason Wang wrote:
>
> On Tue, Apr 8, 2025 at 2:13 PM Cindy Lu wrote:
> >
> > When using a VDPA device, it's important to ensure that the MAC
> > address is correctly set.
> > Add a new parameter in qemu cmdline to enable this check, default value
> > is false
> >
>
1 - 100 of 144 matches
Mail list logo