mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
qemu: fix my typo at commit 74e034964c
Fix my typo at
commit 74e034964c
"disk->rawio == -1" indicates that this value is not
specified. So in case of this, domain must not
be tainted.
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
This commit is contained in:
parent
bfdbae0694
commit
53e23e99a9
@ -1260,7 +1260,7 @@ void qemuDomainObjCheckDiskTaint(struct qemud_driver *driver,
|
||||
driver->allowDiskFormatProbing)
|
||||
qemuDomainObjTaint(driver, obj, VIR_DOMAIN_TAINT_DISK_PROBING, logFD);
|
||||
|
||||
if (disk->rawio)
|
||||
if (disk->rawio == 1)
|
||||
qemuDomainObjTaint(driver, obj, VIR_DOMAIN_TAINT_HIGH_PRIVILEGES, logFD);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user