From: Philippe Mathieu-Daudé Date: Tue, 18 Feb 2025 12:03:18 +0000 (+0100) Subject: hw/arm: Do not expose the virt machine on Xen-only binary X-Git-Tag: pull-xen-20250310~18^2~29 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8c4648f5a20d88ca16ad6e12134c6c9bf01fac9f;p=people%2Faperard%2Fqemu-dm.git 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é Reviewed-by: Edgar E. Iglesias Message-Id: <20250218162618.46167-3-philmd@linaro.org> --- 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