From: Stefano Stabellini Date: Tue, 31 Jan 2023 22:51:47 +0000 (-0800) Subject: meson.build: do not set have_xen_pci_passthrough for aarch64 targets X-Git-Tag: xenpvh-tag~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0f6b316b8cc6e77bd2a079d0691d38578bdd367a;p=users%2Fdwmw2%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 c626ccfa82..fb9fb97bb1 100644 --- a/meson.build +++ b/meson.build @@ -1471,6 +1471,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()