Re: [Intel-gfx] [PATCH v3 10/12] vfio: Mark cdev usage in vfio_device

2023-04-21 Thread Liu, Yi L
> From: Eric Auger > Sent: Wednesday, April 5, 2023 7:48 PM > > On 4/1/23 16:44, Yi Liu wrote: > > There are users that need to check if vfio_device is opened as cdev. > > e.g. vfio-pci. This adds a flag in vfio_device, it will be set in the > > cdev path when device is opened. This is not used a

Re: [Intel-gfx] [PATCH v3 10/12] vfio: Mark cdev usage in vfio_device

2023-04-05 Thread Eric Auger
On 4/1/23 16:44, Yi Liu wrote: > There are users that need to check if vfio_device is opened as cdev. > e.g. vfio-pci. This adds a flag in vfio_device, it will be set in the > cdev path when device is opened. This is not used at this moment, but > a preparation for vfio device cdev support. bet

[Intel-gfx] [PATCH v3 10/12] vfio: Mark cdev usage in vfio_device

2023-04-01 Thread Yi Liu
There are users that need to check if vfio_device is opened as cdev. e.g. vfio-pci. This adds a flag in vfio_device, it will be set in the cdev path when device is opened. This is not used at this moment, but a preparation for vfio device cdev support. Signed-off-by: Yi Liu --- include/linux/vfi