[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] hw/arm: set machine 'virt' as default
From: |
Dan Streetman |
Subject: |
[Qemu-devel] [PATCH] hw/arm: set machine 'virt' as default |
Date: |
Tue, 17 Sep 2019 13:24:22 -0400 |
From: Dan Streetman <address@hidden>
There is currently no default machine type for arm so one must be specified
with --machine. This sets the 'virt' machine type as default.
Signed-off-by: Dan Streetman <address@hidden>
---
hw/arm/virt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index d74538b021..e9fe888ca2 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -78,6 +78,7 @@
mc->desc = "QEMU " # major "." # minor " ARM Virtual Machine"; \
if (latest) { \
mc->alias = "virt"; \
+ mc->is_default = 1; \
} \
} \
static const TypeInfo machvirt_##major##_##minor##_info = { \
--
2.20.1
- [Qemu-devel] [PATCH] hw/arm: set machine 'virt' as default,
Dan Streetman <=