diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-21 20:41:01 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-21 20:54:40 -0500 |
commit | 0c257437b25731d4f44985e4b30b7317f2845b4a (patch) | |
tree | 36ab639f617589370e583bd774c16a14d5eb73b4 /hw/etraxfs.c | |
parent | 993fbfdb1b1a8d9b3d32ed57afc70a7be1a5e9dc (diff) | |
download | qemu-0c257437b25731d4f44985e4b30b7317f2845b4a.zip qemu-0c257437b25731d4f44985e4b30b7317f2845b4a.tar.gz qemu-0c257437b25731d4f44985e4b30b7317f2845b4a.tar.bz2 |
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/etraxfs.c')
-rw-r--r-- | hw/etraxfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/etraxfs.c b/hw/etraxfs.c index 27205ad..f043c19 100644 --- a/hw/etraxfs.c +++ b/hw/etraxfs.c @@ -162,6 +162,7 @@ static QEMUMachine bareetraxfs_machine = { .name = "bareetraxfs", .desc = "Bare ETRAX FS board", .init = bareetraxfs_init, + .is_default = 1, }; static void bareetraxfs_machine_init(void) |