Re: [libvirt] [PATCH] qemu: Prevent isolation group-related guest disappearance

2017-08-25 Thread Andrea Bolognani
On Fri, 2017-08-25 at 12:12 +0200, Peter Krempa wrote: > > > @@ -1012,6 +1012,18 @@ qemuDomainFillDeviceIsolationGroup(virDomainDefPtr > > > def, > > > tmp = virPCIDeviceAddressGetIOMMUGroupNum(hostAddr); > > > > > > if (tmp < 0) { > > > +/* If there's already a PCI ad

Re: [libvirt] [PATCH] qemu: Prevent isolation group-related guest disappearance

2017-08-25 Thread Peter Krempa
On Fri, Aug 25, 2017 at 11:41:22 +0200, Martin Kletzander wrote: > On Thu, Aug 24, 2017 at 05:12:20PM +0200, Andrea Bolognani wrote: > > We can't retrieve the isolation group of a device that's > > not present in the system. However, it's very common for > > VFs to be created late in the boot, so t

Re: [libvirt] [PATCH] qemu: Prevent isolation group-related guest disappearance

2017-08-25 Thread Martin Kletzander
On Thu, Aug 24, 2017 at 05:12:20PM +0200, Andrea Bolognani wrote: We can't retrieve the isolation group of a device that's not present in the system. However, it's very common for VFs to be created late in the boot, so they might not be present yet when libvirtd starts, which would cause the gues

[libvirt] [PATCH] qemu: Prevent isolation group-related guest disappearance

2017-08-24 Thread Andrea Bolognani
We can't retrieve the isolation group of a device that's not present in the system. However, it's very common for VFs to be created late in the boot, so they might not be present yet when libvirtd starts, which would cause the guests using them to disappear. If a PCI address has already been set f