qemu: Set unpriv_sgio for scsi host device

This commit is contained in:
Osier Yang 2013-05-04 02:07:43 +08:00
parent 0453bcdfc3
commit a842df78ea

View File

@ -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