mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05: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:
1 parent
a3fb3a3590
commit
f9144125b8
1 file changed
+1
-5
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user