Re: [libvirt] [PATCH] qemu: Fix mdev checking for VFIO support

2017-04-12 Thread Erik Skultety
On Wed, Apr 12, 2017 at 11:35:14AM +0100, Daniel P. Berrange wrote: > On Wed, Apr 12, 2017 at 12:26:35PM +0200, Erik Skultety wrote: > > Commit a4a39d90 added a check that checks for VFIO support with mediated > > devices. The problem is that the hostdev preparing functions behave like > > a

Re: [libvirt] [PATCH] qemu: Fix mdev checking for VFIO support

2017-04-12 Thread Daniel P. Berrange
On Wed, Apr 12, 2017 at 12:26:35PM +0200, Erik Skultety wrote: > Commit a4a39d90 added a check that checks for VFIO support with mediated > devices. The problem is that the hostdev preparing functions behave like > a fallthrough if device of that specific type doesn't exist. However, > the check

[libvirt] [PATCH] qemu: Fix mdev checking for VFIO support

2017-04-12 Thread Erik Skultety
Commit a4a39d90 added a check that checks for VFIO support with mediated devices. The problem is that the hostdev preparing functions behave like a fallthrough if device of that specific type doesn't exist. However, the check for VFIO support was independent of the existence of a mdev device which