1 /* Declarations for use by board files for creating devices. */
8 typedef struct QEMUMachine QEMUMachine
;
10 typedef void QEMUMachineInitFunc(QEMUMachine
*machine
, QemuOpts
*opts
);
16 QEMUMachineInitFunc
*init
;
19 unsigned int no_serial
:1,
27 GlobalProperty
*compat_props
;
28 QemuOptDesc
*opts_desc
;
29 struct QEMUMachine
*next
;
32 int qemu_register_machine(QEMUMachine
*m
);
34 extern QEMUMachine
*current_machine
;
36 #define COMMON_MACHINE_OPTS() \
39 .type = QEMU_OPT_NUMBER, \
43 .type = QEMU_OPT_STRING, \
47 .type = QEMU_OPT_STRING, \
51 .type = QEMU_OPT_STRING, \
54 .name = "boot_device", \
55 .type = QEMU_OPT_STRING, \
59 .type = QEMU_OPT_STRING, \