From: Stefano Stabellini Date: Thu, 15 Jun 2023 00:03:36 +0000 (-0700) Subject: meson.build: do not set have_xen_pci_passthrough for aarch64 targets X-Git-Tag: v8.1.0-rc0~55^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4b4b40be86f69a994bf614edd49d8f1fb79422e;p=thirdparty%2Fqemu.git meson.build: do not set have_xen_pci_passthrough for aarch64 targets have_xen_pci_passthrough is only used for Xen x86 VMs. Signed-off-by: Stefano Stabellini Reviewed-by: Alex Bennée --- diff --git a/meson.build b/meson.build index 34306a6205b..481865bfa97 100644 --- a/meson.build +++ b/meson.build @@ -1726,6 +1726,8 @@ have_xen_pci_passthrough = get_option('xen_pci_passthrough') \ error_message: 'Xen PCI passthrough requested but Xen not enabled') \ .require(targetos == 'linux', error_message: 'Xen PCI passthrough not available on this platform') \ + .require(cpu == 'x86' or cpu == 'x86_64', + error_message: 'Xen PCI passthrough not available on this platform') \ .allowed()