mirror of https://gitee.com/openkylin/libvirt.git
qemu: Fix copy&paste error in warning message
This also makes the message consistent with the message used in error path of qemudDomainAttachHostPciDevice.
This commit is contained in:
parent
5afec51730
commit
0a5f3ae0c6
|
@ -9042,7 +9042,7 @@ static int qemudDomainDetachHostPciDevice(struct qemud_driver *driver,
|
||||||
|
|
||||||
if ((qemuCmdFlags & QEMUD_CMD_FLAG_DEVICE) &&
|
if ((qemuCmdFlags & QEMUD_CMD_FLAG_DEVICE) &&
|
||||||
qemuDomainPCIAddressReleaseAddr(priv->pciaddrs, &detach->info) < 0)
|
qemuDomainPCIAddressReleaseAddr(priv->pciaddrs, &detach->info) < 0)
|
||||||
VIR_WARN0("Unable to release PCI address on controller");
|
VIR_WARN0("Unable to release PCI address on host device");
|
||||||
|
|
||||||
if (vm->def->nhostdevs > 1) {
|
if (vm->def->nhostdevs > 1) {
|
||||||
memmove(vm->def->hostdevs + i,
|
memmove(vm->def->hostdevs + i,
|
||||||
|
|
Loading…
Reference in New Issue