]> 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>
Fri, 10 Feb 2023 22:23:47 +0000 (14:23 -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 c626ccfa82c9ad8e076b6fdb76201592688a91d4..fb9fb97bb1f81c7eed1407397d5371b2ba812fa0 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()