RE: [PATCH 08/13] vfio: Block device access via device fd until device is opened

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Tian, Kevin <kevin.tian@xxxxxxxxx>
> Sent: Thursday, January 19, 2023 11:42 AM

> > > My question to the last version was not answered...
> > >
> > > Can you elaborate why it is impossible to unbind? Is it more an
> > > implementation choice or conceptual restriction?
> >
> > At least for the implementation it is due to the use of the lockless
> > test for bind.
> >
> > It can safely handle unbind->bind but it cannot handle
> > bind->unbind. To allows this we'd need to add a lock on all the vfio
> > ioctls which seems costly.
> >
> 
> OK, it makes sense. Yi, can you add this message in next version?
 
Yeah. 😊 

Regards,
Yi Liu 




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux