X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=sysemu.h;h=d3013f5cc40f6ef0d6358d664f882a1b2be158df;hb=44e798d3959e6face1adc0b2fd1873b25f66a5e7;hp=b0296a0d467ae554400d2777661fd4f943654d62;hpb=adc56dda0c4eed62149d28939b7d7e329ad95ae8;p=qemu.git diff --git a/sysemu.h b/sysemu.h index b0296a0d4..d3013f5cc 100644 --- a/sysemu.h +++ b/sysemu.h @@ -34,6 +34,9 @@ void qemu_del_vm_change_state_handler(VMChangeStateEntry *e); #define VMSTOP_LOADVM 7 #define VMSTOP_MIGRATE 8 +#define VMRESET_SILENT false +#define VMRESET_REPORT true + void vm_start(void); void vm_stop(int reason); @@ -42,13 +45,15 @@ void qemu_system_shutdown_request(void); void qemu_system_powerdown_request(void); void qemu_system_debug_request(void); void qemu_system_vmstop_request(int reason); +int qemu_shutdown_requested_get(void); +int qemu_reset_requested_get(void); int qemu_shutdown_requested(void); int qemu_reset_requested(void); int qemu_powerdown_requested(void); void qemu_system_killed(int signal, pid_t pid); void qemu_kill_report(void); extern qemu_irq qemu_system_powerdown; -void qemu_system_reset(void); +void qemu_system_reset(bool report); void qemu_add_exit_notifier(Notifier *notify); void qemu_remove_exit_notifier(Notifier *notify);