aboutsummaryrefslogtreecommitdiffstats
path: root/hw/boards.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-05-21 20:41:01 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-21 20:54:40 -0500
commit0c257437b25731d4f44985e4b30b7317f2845b4a (patch)
tree36ab639f617589370e583bd774c16a14d5eb73b4 /hw/boards.h
parent993fbfdb1b1a8d9b3d32ed57afc70a7be1a5e9dc (diff)
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/boards.h')
-rw-r--r--hw/boards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/boards.h b/hw/boards.h
index 314401766..f6733b7cc 100644
--- a/hw/boards.h
+++ b/hw/boards.h
@@ -16,11 +16,11 @@ typedef struct QEMUMachine {
QEMUMachineInitFunc *init;
int use_scsi;
int max_cpus;
+ int is_default;
struct QEMUMachine *next;
} QEMUMachine;
int qemu_register_machine(QEMUMachine *m);
-void register_machines(void);
extern QEMUMachine *current_machine;