summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-18 13:03:18 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-04 14:45:34 +0100
commit8c4648f5a20d88ca16ad6e12134c6c9bf01fac9f (patch)
tree42109176e17063473f82ac9167068431f7a6caf7
parent611f3bdb20f7828b0813aa90d47d1275ef18329b (diff)
downloadfocaccia-qemu-8c4648f5a20d88ca16ad6e12134c6c9bf01fac9f.tar.gz
focaccia-qemu-8c4648f5a20d88ca16ad6e12134c6c9bf01fac9f.zip
hw/arm: Do not expose the virt machine on Xen-only binary
Since the Virt machine is useless under Xen, do not even
try to build it there.
A Xen-only binary now only offers the XenPVH machine:

  $ qemu-system-aarch64 -M help
  Supported machines are:
  none                 empty machine
  xenpvh               Xen PVH ARM machine

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-Id: <20250218162618.46167-3-philmd@linaro.org>
-rw-r--r--hw/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index faa00d1db3..15200a2d7e 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -2,6 +2,7 @@ config ARM_VIRT
     bool
     default y
     depends on ARM
+    depends on TCG || KVM || HVF
     imply PCI_DEVICES
     imply TEST_DEVICES
     imply VFIO_AMD_XGBE