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-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a4b4b40be86f69a994bf614edd49d8f1fb79422e;p=qemu.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 34306a6205..481865bfa9 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()