Re: [RFC 10/10] vfio: Move vfio group specific code into group.c

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

 



On 2022/11/24 02:37, Jason Gunthorpe wrote:
On Wed, Nov 23, 2022 at 07:01:13AM -0800, Yi Liu wrote:

+void vfio_device_group_abort_open(struct vfio_device *device)
+{
+	mutex_lock(&device->group->group_lock);
+	if (device->group->container)
+		vfio_device_container_unregister(device);
+	mutex_unlock(&device->group->group_lock);
+}

I'm looking at your git branch and I don't see this called?

drivers/vfio/group.c:void vfio_device_group_abort_open(struct vfio_device *device)
drivers/vfio/vfio.h:void vfio_device_group_abort_open(struct vfio_device *device);


sorry, a rebase mistake, they should be removed. thanks for spotting it.

--
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