diff mbox series

[PULL,v3,08/10] meson.build: do not set have_xen_pci_passthrough for aarch64 targets

Message ID 20230503001303.1837420-8-sstabellini@kernel.org (mailing list archive)
State New, archived
Headers show
Series [PULL,v3,01/10] hw/i386/xen/: move xen-mapcache.c to hw/xen/ | expand

Commit Message

Stefano Stabellini May 3, 2023, 12:13 a.m. UTC
From: Stefano Stabellini <stefano.stabellini@amd.com>

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 | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 77d42898c8..000ef06bfa 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()