[libvirt] [PATCH] qemu: mdev: Set vfio device property 'display' to off only if mdev is vfio-pci

2018-08-31 Thread Farhan Ali
S390 is aware of both vfio-pci and vfio-ccw devices, so on S390 the capability QEMU_CAPS_VFIO_PCI_DISPLAY will be available. Add an extra check to make sure we only set the display to off for vfio-pci mediated devices. Otherwise we add display for vfio-ccw device and this breaks vfio-ccw device qem

Re: [libvirt] [PATCH] qemu: mdev: Set vfio device property 'display' to off only if mdev is vfio-pci

2018-08-31 Thread Erik Skultety
On Thu, Aug 30, 2018 at 01:07:34PM -0400, Farhan Ali wrote: > S390 is aware of both vfio-pci and vfio-ccw devices, so > on S390 the capability QEMU_CAPS_VFIO_PCI_DISPLAY will be > available. Add an extra check to make sure we only set the > display to off for vfio-pci mediated devices. Otherwise we