Skip to content

Commit

Permalink
meson.build: do not set have_xen_pci_passthrough for aarch64 targets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sstabellini committed Jun 15, 2023
1 parent 6c4193e commit a4b4b40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meson.build
Expand Up @@ -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()


Expand Down

0 comments on commit a4b4b40

Please sign in to comment.