aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2012-02-21 23:18:50 -0800
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-22 09:02:17 -0600
commit2c8cffa599b7333a4a2093a9aa7f1bbcb5e2ac5d (patch)
tree496eee7a9eaf90bdf47ce5c8f2f29f76c549a079
parentde8efe8f6c7a5da40f7e739e0404cc66c2f94636 (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.h1
-rw-r--r--vl.c2
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;
diff --git a/vl.c b/vl.c
index d8a521afe2..5549fcd41b 100644
--- a/vl.c
+++ b/vl.c
@@ -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;