From 0c257437b25731d4f44985e4b30b7317f2845b4a Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 21 May 2009 20:41:01 -0500 Subject: Introduce is_default field for QEMUMachine f80f9ec changed the order that machines are registered which had the effect of changing the default machine. This changeset introduces a new is_default field so that machine types can declare that they are the default for an architecture. Signed-off-by: Anthony Liguori --- hw/pc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index 43b739146b..e9682fadf2 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1189,6 +1189,7 @@ static QEMUMachine pc_machine = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, + .is_default = 1, }; static QEMUMachine isapc_machine = { -- cgit v1.2.3