qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v10 3/8] vl: make find_default_machine externally vi


From: Jordan Justen
Subject: [Qemu-devel] [PATCH v10 3/8] vl: make find_default_machine externally visible
Date: Sun, 8 Jan 2012 11:51:35 -0800

Signed-off-by: Jordan Justen <address@hidden>
---
 hw/boards.h |    1 +
 vl.c        |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

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;
 
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]