]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainGetHostdevPath: Don't include /dev/vfio/vfio in returned paths
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Sep 2019 09:47:59 +0000 (11:47 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 09:04:43 +0000 (10:04 +0100)
commit3a4787a301450a4dfaa7a94d77ab70ce28cfe256
tree111292cdc326ec370828e4ce26f2f820212b1bb4
parentf9765165429b9008cd9acf88f55c373c26605d84
qemuDomainGetHostdevPath: Don't include /dev/vfio/vfio in returned paths

Now that all callers of qemuDomainGetHostdevPath() handle
/dev/vfio/vfio on their own, we can safely drop handling in this
function. In near future the decision whether domain needs VFIO
file is going to include more device types than just
virDomainHostdev.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_cgroup.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h