Patchwork [v10,3/8] vl: make find_default_machine externally visible

login
register
mail settings
Submitter jordan.l.justen@intel.com
Date Jan. 8, 2012, 7:51 p.m.
Message ID <1326052300-1172-4-git-send-email-jordan.l.justen@intel.com>
Download mbox | patch
Permalink /patch/134927/
State New
Headers show

Comments

jordan.l.justen@intel.com - Jan. 8, 2012, 7:51 p.m.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
---
 hw/boards.h |    1 +
 vl.c        |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/boards.h b/hw/boards.h
index 716fd7b..45a31a1 100644
--- a/hw/boards.h
+++ b/hw/boards.h
@@ -33,6 +33,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 ba55b35..cb0c135 100644
--- a/vl.c
+++ b/vl.c
@@ -1186,7 +1186,7 @@  static QEMUMachine *find_machine(const char *name)
     return NULL;
 }
 
-static QEMUMachine *find_default_machine(void)
+QEMUMachine *find_default_machine(void)
 {
     QEMUMachine *m;