mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
qemu: Properly report errors from qemuDomainFixupCPUs
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
50712e14f4
commit
6118fd9cb9
@ -10227,7 +10227,7 @@ qemuDomainFixupCPUs(virDomainObjPtr vm,
|
||||
virCPUDefPtr fixedCPU = NULL;
|
||||
virCPUDefPtr fixedOrig = NULL;
|
||||
virArch arch = vm->def->os.arch;
|
||||
int ret = 0;
|
||||
int ret = -1;
|
||||
|
||||
if (!ARCH_IS_X86(arch))
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user