]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow vfio hotplug of a device to the domain which owns the iommu
authorShivaprasad G Bhat <shivaprasadbhat@gmail.com>
Tue, 14 Jul 2015 11:56:33 +0000 (17:26 +0530)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 6 Aug 2015 15:55:03 +0000 (17:55 +0200)
commite3810db34f1acb74dfcfd69219930e23a30284f6
tree90cedf006d21b2efaa2e18a4617798f8044b3cb9
parentc6468144389c029e3d52a7f235aa6d91c915ed91
Allow vfio hotplug of a device to the domain which owns the iommu

The commit 7e72de4 didn't consider the hotplug scenarios. The patch addresses
the hotplug case whereby if atleast one of the pci function is owned by a
guest, the hotplug of other functions/devices in the same iommu group to the
same guest goes through successfully.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
src/util/virhostdev.c