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>
This commit is contained in:
Jordan Justen 2012-02-21 23:18:50 -08:00 committed by Anthony Liguori
parent de8efe8f6c
commit 2c8cffa599
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ typedef struct QEMUMachine {
} QEMUMachine;
int qemu_register_machine(QEMUMachine *m);
QEMUMachine *find_default_machine(void);
extern QEMUMachine *current_machine;

2
vl.c
View File

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