]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Filter non SCSI hostdevs in qemuHostdevPrepareSCSIDevices
authorJohn Ferlan <jferlan@redhat.com>
Thu, 10 Jan 2019 23:05:12 +0000 (18:05 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 11 Jan 2019 13:52:10 +0000 (08:52 -0500)
commitf30ac207ad96a567ade0d8a49023ade9233b2b72
treef751b2724802176b34712dc0cdc3bb131570f14a
parent7282f455aaaa8bf2f73236aa9ec6b65b33c0fcdb
qemu: Filter non SCSI hostdevs in qemuHostdevPrepareSCSIDevices

When commit 1d94b3e7 added code to walk the [n]hostdevs list looking
to add shared hostdevs, it should've filtered any hostdevs that were
not SCSI hostdev's.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hostdev.c