mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Add qemu_unregister_reset
Will be used by '-boot once=...', and should also help in other use cases. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
55ddfe8ef5
commit
dda9b29f61
2 changed files with 16 additions and 2 deletions
1
hw/hw.h
1
hw/hw.h
|
@ -261,6 +261,7 @@ void unregister_savevm(const char *idstr, void *opaque);
|
|||
typedef void QEMUResetHandler(void *opaque);
|
||||
|
||||
void qemu_register_reset(QEMUResetHandler *func, void *opaque);
|
||||
void qemu_unregister_reset(QEMUResetHandler *func, void *opaque);
|
||||
|
||||
/* handler to set the boot_device order for a specific type of QEMUMachine */
|
||||
/* return 0 if success */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue