RE: [PATCH v2 0/5] Update vfio_group to use the modern cdev lifecycle

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

 



> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Sent: Friday, October 15, 2021 7:41 PM
> 
> On Fri, Oct 15, 2021 at 06:03:18AM +0000, Liu, Yi L wrote:
> > > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > > Sent: Wednesday, October 13, 2021 10:28 PM
> > >
> > > These days drivers with state should use cdev_device_add() and
> > > cdev_device_del() to manage the cdev and sysfs lifetime. This simple
> > > pattern ties all the state (vfio, dev, and cdev) together in one memory
> > > structure and uses container_of() to navigate between the layers.
> > >
> > > This is a followup to the discussion here:
> > >
> > > https://lore.kernel.org/kvm/20210921155705.GN327412@xxxxxxxxxx/
> > >
> > > This builds on Christoph's work to revise how the vfio_group works and is
> > > against the latest VFIO tree.
> >
> > Jason, do you have a github branch includes these changes and also
> > Christoph's revise work. I would like to rebase the iommufd things on
> > top of it. Also, want to have a try to see if any regression.
> 
>  https://github.com/jgunthorpe/linux/commits/vfio_group_cdev

thanks.

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