diff mbox series

[2/8] hw/arm: Do not expose the virt machine on Xen-only binary

Message ID 20250218162618.46167-3-philmd@linaro.org (mailing list archive)
State New
Headers show
Series xen: Build fixes and dust removal | expand

Commit Message

Philippe Mathieu-Daudé Feb. 18, 2025, 4:26 p.m. UTC
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>
---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Edgar E. Iglesias Feb. 18, 2025, 4:52 p.m. UTC | #1
On Tue, Feb 18, 2025 at 10:26 AM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:

> 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
>
>
Makes sense to me.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>



> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>  hw/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> index 256013ca808..e5f4b1d84d3 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
> --
> 2.47.1
>
>
diff mbox series

Patch

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 256013ca808..e5f4b1d84d3 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