[PATCH 2/3] conf: Support multiple smmuv3Dev IOMMU devices

2025-09-22 Thread Nathan Chen via Devel
Add support for parsing multiple IOMMU devices from the VM definition when "smmuv3Dev" is the IOMMU model. Signed-off-by: Nathan Chen --- src/conf/domain_conf.c| 84 + src/conf/domain_conf.h| 9 +- src/conf/domain_validate.c| 32 --- src/co

[RFC PATCH 7/7] tests: qemuxmlconfdata: provide iommufd sample XML and CLI args

2025-09-22 Thread Nathan Chen via Devel
Provide sample XML and CLI args for the iommufd XML schema for pc, q35, and virt machine types. Signed-off-by: Nathan Chen --- .../iommufd-q35.x86_64-latest.args| 41 + .../iommufd-q35.x86_64-latest.xml | 60 +++ tests/qemuxmlconfdata/iommufd-q

[RFC PATCH 5/7] qemu: open iommufd FDs from libvirt backend

2025-09-22 Thread Nathan Chen via Devel
Open iommufd FDs from libvirt backend without exposing these FDs to XML users, i.e. one per domain for /dev/iommu and one per iommufd hostdev for /dev/vfio/devices/vfioX, and pass the FD to qemu command line. Signed-off-by: Nathan Chen --- src/qemu/qemu_command.c | 43 +++- src/qemu/qemu_co

[RFC PATCH 1/7] qemu: add IOMMU model smmuv3Dev

2025-09-22 Thread Nathan Chen via Devel
Introduce support for "smmuv3Dev" IOMMU model and "parentIdx" and "accel" IOMMU device attributes. The former indicates the index of the controller that a smmuv3Dev IOMMU device is attached to, while the latter indicates whether hardware accelerated SMMUv3 support is to be enabled. Signed-off-by:

[PATCH 1/3] qemu: add IOMMU model smmuv3Dev

2025-09-22 Thread Nathan Chen via Devel
Introduce support for "smmuv3Dev" IOMMU model and "parentIdx" IOMMU device attribute. The "parentIdx" attribute indicates the index of the controller that a smmuv3Dev IOMMU device is attached to. Signed-off-by: Nathan Chen --- docs/formatdomain.rst | 9 +++- src/conf/domain_conf.c

Re: [PATCH 0/1] Refine the domain status saving logic

2025-09-22 Thread Peter Krempa via Devel
On Mon, Sep 22, 2025 at 16:15:47 +0800, Yong Huang wrote: > On Mon, Sep 22, 2025 at 2:59 PM Peter Krempa wrote: > > > On Mon, Sep 22, 2025 at 11:30:46 +0800, Yong Huang wrote: > > > On Fri, Sep 19, 2025 at 8:23 PM Peter Krempa wrote: > > > > > > > On Fri, Sep 19, 2025 at 17:09:07 +0800, yong.hu.

Re: [PATCH] ci: regenerate with 'lcitool manifest'

2025-09-22 Thread Ján Tomko via Devel
On a Monday in 2025, Michal Privoznik via Devel wrote: From: Michal Privoznik This pulls in the fix for generating ENV vars in Dockerfile according to latest standard. Signed-off-by: Michal Privoznik --- --- 8< --- 32 files changed, 198 insertions(+), 198 deletions(-) Reviewed-by: Ján

Re: [libvirt PATCH 7/8] tests: qemuxmlconftests: test virtiofsd command line too

2025-09-22 Thread Ján Tomko via Devel
On a Friday in 2025, Laine Stump wrote: On 9/9/25 8:05 AM, Ján Tomko via Devel wrote: From: Ján Tomko Signed-off-by: Ján Tomko --- ...t-user-fs-ccw.s390x-latest.virtiofsd0.args | 3 ++ ...fs-fd-memory.x86_64-latest.virtiofsd0.args | 9 ++ ...fd-openfiles.x86_64-latest.virtiofsd0.args |

[PATCH] ci: regenerate with 'lcitool manifest'

2025-09-22 Thread Michal Privoznik via Devel
From: Michal Privoznik This pulls in the fix for generating ENV vars in Dockerfile according to latest standard. Signed-off-by: Michal Privoznik --- ci/containers/almalinux-9.Dockerfile | 10 +- ci/containers/alpine-322.Dockerfile| 10 +- ci/contai

Re: [PATCH 0/1] Refine the domain status saving logic

2025-09-22 Thread Yong Huang
On Mon, Sep 22, 2025 at 4:28 PM Peter Krempa wrote: > On Mon, Sep 22, 2025 at 16:15:47 +0800, Yong Huang wrote: > > On Mon, Sep 22, 2025 at 2:59 PM Peter Krempa wrote: > > > > > On Mon, Sep 22, 2025 at 11:30:46 +0800, Yong Huang wrote: > > > > On Fri, Sep 19, 2025 at 8:23 PM Peter Krempa > wrot

Re: [PATCH 0/1] Refine the domain status saving logic

2025-09-22 Thread Peter Krempa via Devel
On Mon, Sep 22, 2025 at 11:30:46 +0800, Yong Huang wrote: > On Fri, Sep 19, 2025 at 8:23 PM Peter Krempa wrote: > > > On Fri, Sep 19, 2025 at 17:09:07 +0800, yong.hu...@smartx.com wrote: > > > From: Hyman Huang > > > > > > When saving the domain status in the path of the virDomainObjSave > > > f

Re: [PATCH 0/1] Refine the domain status saving logic

2025-09-22 Thread Peter Krempa via Devel
On Mon, Sep 22, 2025 at 11:30:46 +0800, Yong Huang wrote: > On Fri, Sep 19, 2025 at 8:23 PM Peter Krempa wrote: > > > On Fri, Sep 19, 2025 at 17:09:07 +0800, yong.hu...@smartx.com wrote: > > > From: Hyman Huang > > > > > > When saving the domain status in the path of the virDomainObjSave > > > f