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(a)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.