]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
meson.build: do not set have_xen_pci_passthrough for aarch64 targets
authorStefano Stabellini <stefano.stabellini@amd.com>
Tue, 31 Jan 2023 22:51:47 +0000 (14:51 -0800)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 14 Feb 2023 23:39:25 +0000 (15:39 -0800)
have_xen_pci_passthrough is only used for Xen x86 VMs.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
meson.build

index a76c85531250874f739c0b650a55176e2cc98f70..8292cdcec576b3e46755c26ea3c77e3b4b41da4d 100644 (file)
@@ -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()