[libvirt] [PATCH] qemu: fix device name passed to error report
Daniel P. Berrangé
berrange at redhat.com
Thu Dec 13 17:04:38 UTC 2018
Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
Pushed as a trivial fix
src/qemu/qemu_hotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 72b09f92ca..68d021afbb 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@ -5964,7 +5964,7 @@ qemuDomainDetachNetDevice(virQEMUDriverPtr driver,
if (qemuIsMultiFunctionDevice(vm->def, &detach->info)) {
virReportError(VIR_ERR_OPERATION_FAILED,
_("cannot hot unplug multifunction PCI device: %s"),
- dev->data.disk->dst);
+ detach->ifname);
goto cleanup;
}
--
2.19.2
More information about the libvir-list
mailing list