diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index 18e926cc60..86ed9edb35 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -1065,7 +1065,7 @@ qemuSetUnprivSGIO(virDomainDeviceDefPtr dev) disk = dev->data.disk; if (disk->device != VIR_DOMAIN_DISK_DEVICE_LUN || - virDomainDiskSourceIsBlockType(disk)) + !virDomainDiskSourceIsBlockType(disk)) return 0; path = disk->src;