RE: [PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt-machine

2024-07-09 Thread Duan, Zhenzhong
Hi Nicolin, >-Original Message- >From: Nicolin Chen >Subject: Re: [PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt- >machine > >On Tue, Jul 09, 2024 at 07:06:50PM +0200, Eric Auger wrote: >> On 7/9/24 18:59, Nicolin Chen wrote: >> > Hi Eric,

Re: [PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt-machine

2024-07-09 Thread Nicolin Chen
On Tue, Jul 09, 2024 at 07:06:50PM +0200, Eric Auger wrote: > On 7/9/24 18:59, Nicolin Chen wrote: > > Hi Eric, > > > > Thanks for the comments! > > > > On Tue, Jul 09, 2024 at 11:11:56AM +0200, Eric Auger wrote: > >> On 6/26/24 02:28, Nicolin Chen wrote: > >>> A nested SMMU must use iommufd

Re: [PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt-machine

2024-07-09 Thread Eric Auger
On 7/9/24 18:59, Nicolin Chen wrote: > Hi Eric, > > Thanks for the comments! > > On Tue, Jul 09, 2024 at 11:11:56AM +0200, Eric Auger wrote: >> On 6/26/24 02:28, Nicolin Chen wrote: >>> A nested SMMU must use iommufd ioctls to communicate with the host-level >>> SMMU instance for 2-stage

Re: [PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt-machine

2024-07-09 Thread Nicolin Chen
Hi Eric, Thanks for the comments! On Tue, Jul 09, 2024 at 11:11:56AM +0200, Eric Auger wrote: > On 6/26/24 02:28, Nicolin Chen wrote: > > A nested SMMU must use iommufd ioctls to communicate with the host-level > > SMMU instance for 2-stage translation support. Add an iommufd link to the > > ARM

Re: [PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt-machine

2024-07-09 Thread Eric Auger
Hi Nicolin, On 6/26/24 02:28, Nicolin Chen wrote: > A nested SMMU must use iommufd ioctls to communicate with the host-level > SMMU instance for 2-stage translation support. Add an iommufd link to the > ARM virt-machine, allowing QEMU command to pass in an iommufd object. If I am not wrong vfio

[PATCH RFCv1 02/10] hw/arm/virt: Add iommufd link to virt-machine

2024-06-25 Thread Nicolin Chen
A nested SMMU must use iommufd ioctls to communicate with the host-level SMMU instance for 2-stage translation support. Add an iommufd link to the ARM virt-machine, allowing QEMU command to pass in an iommufd object. Signed-off-by: Nicolin Chen --- hw/arm/virt.c | 14 ++