Re: [libvirt] [PATCH] qemu: Don't special case mdevs when assigning PCI addresses

2017-06-02 Thread Erik Skultety
On Fri, Jun 02, 2017 at 08:20:12AM +0200, Andrea Bolognani wrote: > On Thu, 2017-06-01 at 21:24 -0400, Laine Stump wrote: > > > @@ -645,9 +645,6 @@ > > > qemuDomainDeviceCalculatePCIConnectFlags(virDomainDeviceDefPtr dev, > > >  return pcieFlags; > > >  } > > > > > > -i

Re: [libvirt] [PATCH] qemu: Don't special case mdevs when assigning PCI addresses

2017-06-01 Thread Andrea Bolognani
On Thu, 2017-06-01 at 21:24 -0400, Laine Stump wrote: > > @@ -645,9 +645,6 @@ > > qemuDomainDeviceCalculatePCIConnectFlags(virDomainDeviceDefPtr dev, > >  return pcieFlags; > >  } > >   > > -if (hostdev->source.subsys.type == > > VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_MDEV) >

Re: [libvirt] [PATCH] qemu: Don't special case mdevs when assigning PCI addresses

2017-06-01 Thread Laine Stump
On 05/26/2017 06:51 AM, Andrea Bolognani wrote: > We can treat mdevs the same as all other PCI hostdevs > and figure out whether they are PCI Express or legacy PCI > by checking the size of their config space. > > Signed-off-by: Andrea Bolognani > --- > src/qemu/qemu_domain_address.c | 3 --- >

[libvirt] [PATCH] qemu: Don't special case mdevs when assigning PCI addresses

2017-05-26 Thread Andrea Bolognani
We can treat mdevs the same as all other PCI hostdevs and figure out whether they are PCI Express or legacy PCI by checking the size of their config space. Signed-off-by: Andrea Bolognani --- src/qemu/qemu_domain_address.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/qemu/qemu_domai