Re: [PATCH v5 01/13] vfio/pci: Extract mdev check into an helper

2024-07-23 Thread Eric Auger
On 7/19/24 14:04, Joao Martins wrote: > In preparation to skip initialization of the HostIOMMUDevice for mdev, > extract the checks that validate if a device is an mdev into helpers. > > A vfio_device_is_mdev() is created, and subsystems consult VFIODevice::mdev > to check if it's mdev or not. >

RE: [PATCH v5 01/13] vfio/pci: Extract mdev check into an helper

2024-07-21 Thread Duan, Zhenzhong
>-Original Message- >From: Joao Martins >Sent: Friday, July 19, 2024 8:05 PM >To: qemu-devel@nongnu.org >Cc: Liu, Yi L ; Eric Auger ; Duan, >Zhenzhong ; Alex Williamson >; Cedric Le Goater ; Jason >Gunthorpe ; Avihai Horon ; Joao >Martins >Subject: [PATCH v5 01/13] vfio/pci: Extract md

Re: [PATCH v5 01/13] vfio/pci: Extract mdev check into an helper

2024-07-19 Thread Cédric Le Goater
On 7/19/24 14:04, Joao Martins wrote: In preparation to skip initialization of the HostIOMMUDevice for mdev, extract the checks that validate if a device is an mdev into helpers. A vfio_device_is_mdev() is created, and subsystems consult VFIODevice::mdev to check if it's mdev or not. Signed-off