Starting with QEMU 6.0, this controller is enabled by default
on aarch64.
https://bugzilla.redhat.com/show_bug.cgi?id=
1967187
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
return -1;
}
if (cont->model == VIR_DOMAIN_CONTROLLER_MODEL_PCIE_EXPANDER_BUS &&
- !qemuDomainIsQ35(def)) {
+ !(qemuDomainIsQ35(def) || qemuDomainIsARMVirt(def))) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("pcie-expander-bus controllers are only supported "
- "on q35-based machinetypes"));
+ _("pcie-expander-bus controllers are not supported "
+ "with this machine type"));
return -1;
}
-unsupported configuration: pcie-expander-bus controllers are only supported on q35-based machinetypes
+unsupported configuration: pcie-expander-bus controllers are not supported with this machine type