| /* Declarations for use by board files for creating devices. */ |
| #include "sysemu/blockdev.h" |
| #define DEFAULT_MACHINE_OPTIONS \ |
| typedef struct QEMUMachineInitArgs { |
| const char *kernel_filename; |
| const char *kernel_cmdline; |
| const char *initrd_filename; |
| typedef void QEMUMachineInitFunc(QEMUMachineInitArgs *args); |
| typedef void QEMUMachineResetFunc(void); |
| typedef struct QEMUMachine { |
| QEMUMachineInitFunc *init; |
| QEMUMachineResetFunc *reset; |
| BlockInterfaceType block_default_type; |
| unsigned int no_serial:1, |
| const char *default_machine_opts; |
| GlobalProperty *compat_props; |
| struct QEMUMachine *next; |
| int qemu_register_machine(QEMUMachine *m); |
| QEMUMachine *find_default_machine(void); |
| extern QEMUMachine *current_machine; |