mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemu: Set unpriv_sgio for scsi host device
This commit is contained in:
parent
0453bcdfc3
commit
a842df78ea
@ -890,6 +890,9 @@ qemuPrepareHostdevSCSIDevices(virQEMUDriverPtr driver,
|
|||||||
|
|
||||||
if (qemuAddSharedDevice(driver, &dev, name) < 0)
|
if (qemuAddSharedDevice(driver, &dev, name) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
if (qemuSetUnprivSGIO(&dev) < 0)
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* To prevent situation where SCSI device is assigned to two domains
|
/* To prevent situation where SCSI device is assigned to two domains
|
||||||
|
Loading…
x
Reference in New Issue
Block a user