diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2010-07-22 15:52:48 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-05-08 10:10:01 +0200 |
commit | 1291eb35404b077ec96e5c06c7a70935597fe7c6 (patch) | |
tree | d68261e186796f6e6ee3ae433fbaa48988187e2c /sysemu.h | |
parent | 8c12f1912afed98715d995cb7c72c8203aaced9d (diff) | |
download | qemu-1291eb35404b077ec96e5c06c7a70935597fe7c6.tar.gz qemu-1291eb35404b077ec96e5c06c7a70935597fe7c6.tar.bz2 qemu-1291eb35404b077ec96e5c06c7a70935597fe7c6.zip |
vl.c: Introduce getter for shutdown_requested and reset_requested.
Introduce two functions qemu_shutdown_requested_get and
qemu_reset_requested_get to get the value of shutdown/reset_requested
without reset it.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,6 +42,8 @@ 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); |