This defines KVM_DEV_VFIO_FILE* and make alias with KVM_DEV_VFIO_GROUP*.
Old userspace uses KVM_DEV_VFIO_GROUP* works as well.
Reviewed-by: Jason Gunthorpe
Reviewed-by: Kevin Tian
Tested-by: Terrence Xu
Tested-by: Nicolin Chen
Tested-by: Matthew Rosato
Tested-by: Yanting Jiang
Signed-off-by:
Hi Yi,
On 4/1/23 17:18, Yi Liu wrote:
> This defines KVM_DEV_VFIO_FILE* and make alias with KVM_DEV_VFIO_GROUP*.
> Old userspace uses KVM_DEV_VFIO_GROUP* works as well.
>
> Reviewed-by: Jason Gunthorpe
> Reviewed-by: Kevin Tian
> Tested-by: Terrence Xu
> Tested-by: Nicolin Chen
> Tested-by: Ma
Hi Eric,
> From: Eric Auger
> Sent: Thursday, April 6, 2023 5:47 PM
>
> Hi Yi,
>
> On 4/1/23 17:18, Yi Liu wrote:
> > This defines KVM_DEV_VFIO_FILE* and make alias with KVM_DEV_VFIO_GROUP*.
> > Old userspace uses KVM_DEV_VFIO_GROUP* works as well.
> >
> > Reviewed-by: Jason Gunthorpe
> > Revi
On Thu, 6 Apr 2023 10:49:45 +
"Liu, Yi L" wrote:
> Hi Eric,
>
> > From: Eric Auger
> > Sent: Thursday, April 6, 2023 5:47 PM
> >
> > Hi Yi,
> >
> > On 4/1/23 17:18, Yi Liu wrote:
> > > This defines KVM_DEV_VFIO_FILE* and make alias with KVM_DEV_VFIO_GROUP*.
> > > Old userspace uses KVM_
> From: Alex Williamson
> Sent: Friday, April 7, 2023 2:58 AM
> > >
> > > You don't say anything about potential restriction, ie. what if the user
> > > calls
> > > KVM_DEV_VFIO_FILE with device fds while it has been using legacy
> container/group
> > > API?
> >
> > legacy container/group path ca
Hi Yi,
On 4/7/23 05:42, Liu, Yi L wrote:
>> From: Alex Williamson
>> Sent: Friday, April 7, 2023 2:58 AM
You don't say anything about potential restriction, ie. what if the user
calls
KVM_DEV_VFIO_FILE with device fds while it has been using legacy
>> container/group
API?
>>>
Hi Eric,
> From: Eric Auger
> Sent: Friday, April 7, 2023 4:57 PM
>
> Hi Yi,
>
> On 4/7/23 05:42, Liu, Yi L wrote:
> >> From: Alex Williamson
> >> Sent: Friday, April 7, 2023 2:58 AM
> You don't say anything about potential restriction, ie. what if the user
> calls
> KVM_DEV_VF