[libvirt] [PATCH] Allow vfio hotplug of a device to the domain which owns the iommu

Martin Kletzander mkletzan at redhat.com
Thu Aug 6 16:08:09 UTC 2015


On Tue, Jul 14, 2015 at 05:26:33PM +0530, Shivaprasad G Bhat wrote:
>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 at linux.vnet.ibm.com>
>---
> src/util/virhostdev.c |   34 +++++++++++++++++++++++++++-------
> 1 file changed, 27 insertions(+), 7 deletions(-)
>

I have no place to check this, but I've read the code extensively and
it looks fine.  It wouldd be really nice to have a test for that
(future idea).

ACK, I'll push it in a while.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150806/4978eae0/attachment-0001.sig>


More information about the libvir-list mailing list