> From: Jason Gunthorpe
> Sent: Tuesday, February 28, 2023 8:36 PM
>
> On Tue, Feb 28, 2023 at 06:00:09AM +, Liu, Yi L wrote:
> > > From: Liu, Yi L
> > > Sent: Monday, February 27, 2023 7:12 PM
> > >
> > > group code is not needed for vfio device cdev, so with vfio device cdev
> > > introduc
On Tue, Feb 28, 2023 at 06:00:09AM +, Liu, Yi L wrote:
> > From: Liu, Yi L
> > Sent: Monday, February 27, 2023 7:12 PM
> >
> > group code is not needed for vfio device cdev, so with vfio device cdev
> > introduced, the group infrastructures can be compiled out if only cdev
> > is needed.
> >
> From: Liu, Yi L
> Sent: Monday, February 27, 2023 7:12 PM
>
> group code is not needed for vfio device cdev, so with vfio device cdev
> introduced, the group infrastructures can be compiled out if only cdev
> is needed.
>
> Signed-off-by: Yi Liu
> ---
> drivers/vfio/Kconfig | 14 +
>
> From: Jason Gunthorpe
> Sent: Tuesday, February 28, 2023 3:20 AM
>
> On Mon, Feb 27, 2023 at 03:11:34AM -0800, Yi Liu wrote:
>
> > diff --git a/include/linux/vfio.h b/include/linux/vfio.h
> > index ce390533cb30..d12384824656 100644
> > --- a/include/linux/vfio.h
> > +++ b/include/linux/vfio.h
On Mon, Feb 27, 2023 at 03:11:34AM -0800, Yi Liu wrote:
> diff --git a/include/linux/vfio.h b/include/linux/vfio.h
> index ce390533cb30..d12384824656 100644
> --- a/include/linux/vfio.h
> +++ b/include/linux/vfio.h
> @@ -43,7 +43,9 @@ struct vfio_device {
>*/
> const struct vfio_migr
group code is not needed for vfio device cdev, so with vfio device cdev
introduced, the group infrastructures can be compiled out if only cdev
is needed.
Signed-off-by: Yi Liu
---
drivers/vfio/Kconfig | 14 +
drivers/vfio/Makefile | 2 +-
drivers/vfio/vfio.h | 72