diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index be9839cc64ef83663e987a6ebcaa9d8c188a2035..f37aecda371e59390b7c446d9e9dbaa0d1238c01 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -6703,7 +6703,8 @@ qemuBuildCpuModelArgStr(virQEMUDriverPtr driver, break; } - if (ARCH_IS_S390(def->os.arch) && cpu->features && + if ((ARCH_IS_S390(def->os.arch) || ARCH_IS_ARM(def->os.arch)) && + cpu->features && !virQEMUCapsGet(qemuCaps, QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION)) { virReportError(VIR_ERR_INTERNAL_ERROR, _("CPU features not supported by hypervisor for %s "