mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
machine: Eliminate QEMUMachine and qemu_register_machine()
The struct is not used anymore and can be eliminated. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
8a661aea0e
commit
3b53e45f43
5 changed files with 2 additions and 66 deletions
|
@ -20,7 +20,7 @@ void blockdev_auto_del(BlockBackend *blk);
|
|||
typedef enum {
|
||||
IF_DEFAULT = -1, /* for use with drive_add() only */
|
||||
/*
|
||||
* IF_IDE must be zero, because we want QEMUMachine member
|
||||
* IF_IDE must be zero, because we want MachineClass member
|
||||
* block_default_type to default-initialize to IF_IDE
|
||||
*/
|
||||
IF_IDE = 0,
|
||||
|
|
|
@ -195,7 +195,7 @@ void device_add_bootindex_property(Object *obj, int32_t *bootindex,
|
|||
void restore_boot_order(void *opaque);
|
||||
void validate_bootdevices(const char *devices, Error **errp);
|
||||
|
||||
/* handler to set the boot_device order for a specific type of QEMUMachine */
|
||||
/* handler to set the boot_device order for a specific type of MachineClass */
|
||||
typedef void QEMUBootSetHandler(void *opaque, const char *boot_order,
|
||||
Error **errp);
|
||||
void qemu_register_boot_set(QEMUBootSetHandler *func, void *opaque);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue