diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2012-02-21 23:18:50 -0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-22 09:02:17 -0600 |
commit | 2c8cffa599b7333a4a2093a9aa7f1bbcb5e2ac5d (patch) | |
tree | 496eee7a9eaf90bdf47ce5c8f2f29f76c549a079 | |
parent | de8efe8f6c7a5da40f7e739e0404cc66c2f94636 (diff) |
vl: make find_default_machine externally visible
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | hw/boards.h | 1 | ||||
-rw-r--r-- | vl.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/hw/boards.h b/hw/boards.h index f6d3784cf1..667177d76d 100644 --- a/hw/boards.h +++ b/hw/boards.h @@ -32,6 +32,7 @@ typedef struct QEMUMachine { } QEMUMachine; int qemu_register_machine(QEMUMachine *m); +QEMUMachine *find_default_machine(void); extern QEMUMachine *current_machine; @@ -1187,7 +1187,7 @@ static QEMUMachine *find_machine(const char *name) return NULL; } -static QEMUMachine *find_default_machine(void) +QEMUMachine *find_default_machine(void) { QEMUMachine *m; |