mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Introduce is_default field for QEMUMachine
f80f9ec
changed the order that machines are registered which had the effect of
changing the default machine. This changeset introduces a new is_default field
so that machine types can declare that they are the default for an architecture.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
993fbfdb1b
commit
0c257437b2
11 changed files with 24 additions and 3 deletions
|
@ -16,11 +16,11 @@ typedef struct QEMUMachine {
|
|||
QEMUMachineInitFunc *init;
|
||||
int use_scsi;
|
||||
int max_cpus;
|
||||
int is_default;
|
||||
struct QEMUMachine *next;
|
||||
} QEMUMachine;
|
||||
|
||||
int qemu_register_machine(QEMUMachine *m);
|
||||
void register_machines(void);
|
||||
|
||||
extern QEMUMachine *current_machine;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue