mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: Remove extra messages for vhost-scsi hotplug
As with virtio-scsi, the "internal error" messages after preparing a vhost-scsi hostdev overwrites more meaningful error messages deeper in the callchain. Remove it too. Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
This commit is contained in:
parent
33c1fc430d
commit
6ff38cee60
@ -2578,13 +2578,8 @@ qemuDomainAttachSCSIVHostDevice(virQEMUDriverPtr driver,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (qemuHostdevPrepareSCSIVHostDevices(driver, vm->def->name, &hostdev, 1) < 0) {
|
||||
virDomainHostdevSubsysSCSIVHostPtr hostsrc = &hostdev->source.subsys.u.scsi_host;
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("Unable to prepare scsi_host hostdev: %s"),
|
||||
hostsrc->wwpn);
|
||||
if (qemuHostdevPrepareSCSIVHostDevices(driver, vm->def->name, &hostdev, 1) < 0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (qemuDomainNamespaceSetupHostdev(driver, vm, hostdev) < 0)
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user