qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hw/arm: set machine 'virt' as default
@ 2019-09-17 17:24 Dan Streetman
  2019-09-17 17:36 ` Dan Streetman
  2019-09-18 20:33 ` Alex Bennée
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Streetman @ 2019-09-17 17:24 UTC (permalink / raw)
  To: qemu-devel

From: Dan Streetman <ddstreet@canonical.com>

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 <ddstreet@canonical.com>
---
 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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-15 16:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-17 17:24 [Qemu-devel] [PATCH] hw/arm: set machine 'virt' as default Dan Streetman
2019-09-17 17:36 ` Dan Streetman
2019-09-18 20:33 ` Alex Bennée
2019-09-18 21:56   ` Dan Streetman
2019-09-19  9:34     ` Philippe Mathieu-Daudé
2019-10-15 16:31       ` Dan Streetman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).