mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
qemu: Allow pcie-expander-bus for aarch64/virt guests
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>
This commit is contained in:
parent
e9e0876a96
commit
f225ef2a04
@ -5222,10 +5222,10 @@ qemuDomainControllerDefPostParse(virDomainControllerDef *cont,
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1 +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
|
||||
|
Loading…
x
Reference in New Issue
Block a user