mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
cleanup: qemu_capabilities: remove redundant error messages
We reported error in caller virQEMUCapsCacheLookupByArch. So the same error messages in qemuConnectGetDomainCapabilities is useless. Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
This commit is contained in:
parent
a3fb3a3590
commit
f9144125b8
@ -18713,12 +18713,8 @@ qemuConnectGetDomainCapabilities(virConnectPtr conn,
|
||||
} else {
|
||||
if (!(qemuCaps = virQEMUCapsCacheLookupByArch(caps,
|
||||
driver->qemuCapsCache,
|
||||
arch))) {
|
||||
virReportError(VIR_ERR_INVALID_ARG,
|
||||
_("unable to find any emulator to serve '%s' "
|
||||
"architecture"), virArchToString(arch));
|
||||
arch)))
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
emulatorbin = virQEMUCapsGetBinary(qemuCaps);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user