mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00
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:
parent
de8efe8f6c
commit
2c8cffa599
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ typedef struct QEMUMachine {
|
||||||
} QEMUMachine;
|
} QEMUMachine;
|
||||||
|
|
||||||
int qemu_register_machine(QEMUMachine *m);
|
int qemu_register_machine(QEMUMachine *m);
|
||||||
|
QEMUMachine *find_default_machine(void);
|
||||||
|
|
||||||
extern QEMUMachine *current_machine;
|
extern QEMUMachine *current_machine;
|
||||||
|
|
||||||
|
|
2
vl.c
2
vl.c
|
@ -1187,7 +1187,7 @@ static QEMUMachine *find_machine(const char *name)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static QEMUMachine *find_default_machine(void)
|
QEMUMachine *find_default_machine(void)
|
||||||
{
|
{
|
||||||
QEMUMachine *m;
|
QEMUMachine *m;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue