--- src/qemu/qemu_hostdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c index f099a27..67cb491 100644 --- a/src/qemu/qemu_hostdev.c +++ b/src/qemu/qemu_hostdev.c @@ -890,6 +890,9 @@ qemuPrepareHostdevSCSIDevices(virQEMUDriverPtr driver, if (qemuAddSharedDevice(driver, &dev, name) < 0) return -1; + + if (qemuSetUnprivSGIO(&dev) < 0) + return -1; } /* To prevent situation where SCSI device is assigned to two domains -- 1.8.1.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list