mirror of https://gitee.com/openkylin/libvirt.git
Fix up confusing indentation in qemudDomainAttachHostPciDevice.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
40e973dd00
commit
8bb0cd14e7
|
@ -8017,7 +8017,7 @@ static int qemudDomainAttachHostPciDevice(struct qemud_driver *driver,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qemuPrepareHostdevPCIDevices(driver, &hostdev, 1))
|
if (qemuPrepareHostdevPCIDevices(driver, &hostdev, 1))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (qemuCmdFlags & QEMUD_CMD_FLAG_DEVICE) {
|
if (qemuCmdFlags & QEMUD_CMD_FLAG_DEVICE) {
|
||||||
if (qemuAssignDeviceHostdevAlias(vm->def, hostdev, -1) < 0)
|
if (qemuAssignDeviceHostdevAlias(vm->def, hostdev, -1) < 0)
|
||||||
|
|
Loading…
Reference in New Issue