qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v11 3/9] vl: make find_default_machine externally vi


From: Jordan Justen
Subject: [Qemu-devel] [PATCH v11 3/9] vl: make find_default_machine externally visible
Date: Tue, 21 Feb 2012 23:18:50 -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 f6d3784..667177d 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 d8a521a..5549fcd 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;
 
-- 
1.7.1




reply via email to

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