Re: [libvirt] [PATCH 6/7] qemuDomainGetHostdevPath: Report /dev/vfio/vfio less frequently

2017-02-16 Thread Marc-André Lureau
On Fri, Feb 10, 2017 at 6:57 PM Michal Privoznik wrote: > So far, qemuDomainGetHostdevPath has no knowledge of the reasong > reasong/reason > it is called and thus reports /dev/vfio/vfio for every VFIO > backed device. This is suboptimal, as we want it to: > > a) report

[libvirt] [PATCH 6/7] qemuDomainGetHostdevPath: Report /dev/vfio/vfio less frequently

2017-02-10 Thread Michal Privoznik
So far, qemuDomainGetHostdevPath has no knowledge of the reasong it is called and thus reports /dev/vfio/vfio for every VFIO backed device. This is suboptimal, as we want it to: a) report /dev/vfio/vfio on every addition or domain startup b) report /dev/vfio/vfio only on last VFIO device being