Re: [libvirt] [PATCH v3 25/26] qemu: Isolate hostdevs on pSeries guests

2017-07-04 Thread David Gibson
On Thu, 29 Jun 2017 17:37:30 +0200 Andrea Bolognani wrote: > On Wed, 2017-06-28 at 18:22 -0400, Laine Stump wrote: > [...] > [...] > > Right, I hadn't considered that case. I'll make sure it is > handled correctly. > > [...] > > Hm, that's quite a pickle. > > Choosing a synthetic iso

Re: [libvirt] [PATCH v3 25/26] qemu: Isolate hostdevs on pSeries guests

2017-06-30 Thread Andrea Bolognani
On Thu, 2017-06-29 at 17:37 +0200, Andrea Bolognani wrote: > > I can see one problem here - a device that is a hostdev network > > interface won't be properly recognized. > >   > > We can solve the problem for plain by just > > checking for that in addition to here. >  > Right, I hadn't considere

Re: [libvirt] [PATCH v3 25/26] qemu: Isolate hostdevs on pSeries guests

2017-06-29 Thread Andrea Bolognani
On Wed, 2017-06-28 at 18:22 -0400, Laine Stump wrote: > > +static int > > +qemuDomainFillDeviceIsolationGroupIter(virDomainDefPtr def > > ATTRIBUTE_UNUSED, > > +   virDomainDeviceDefPtr dev, > > +   virDomainDeviceInfoPtr info

Re: [libvirt] [PATCH v3 25/26] qemu: Isolate hostdevs on pSeries guests

2017-06-28 Thread Laine Stump
On 06/23/2017 11:03 AM, Andrea Bolognani wrote: > All the pieces are now in place, so we can finally start > using isolation groups to achieve our initial goal, which is > separating hostdevs from emulated PCI devices while keeping > hostdevs that belong to the same host IOMMU group together. Set i

[libvirt] [PATCH v3 25/26] qemu: Isolate hostdevs on pSeries guests

2017-06-23 Thread Andrea Bolognani
All the pieces are now in place, so we can finally start using isolation groups to achieve our initial goal, which is separating hostdevs from emulated PCI devices while keeping hostdevs that belong to the same host IOMMU group together. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=128054