summaryrefslogtreecommitdiffstats
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorAnthony Liguori2009-05-22 03:41:01 +0200
committerAnthony Liguori2009-05-22 03:54:40 +0200
commit0c257437b25731d4f44985e4b30b7317f2845b4a (patch)
tree36ab639f617589370e583bd774c16a14d5eb73b4 /hw/sun4u.c
parentRefactor how display drivers are selected (diff)
downloadqemu-0c257437b25731d4f44985e4b30b7317f2845b4a.tar.gz
qemu-0c257437b25731d4f44985e4b30b7317f2845b4a.tar.xz
qemu-0c257437b25731d4f44985e4b30b7317f2845b4a.zip
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 <aliguori@us.ibm.com>
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 1ff0efa897..08789bccc1 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -594,6 +594,7 @@ static QEMUMachine sun4u_machine = {
.desc = "Sun4u platform",
.init = sun4u_init,
.max_cpus = 1, // XXX for now
+ .is_default = 1,
};
static QEMUMachine sun4v_machine = {