aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorAndrey Smetanin <asmetanin@virtuozzo.com>2015-07-03 15:01:42 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-07 18:14:03 +0200
commit5f5b5942d56a138baad0ae01458d5d0e62d5be68 (patch)
treea900ef9a631152932fce3f70b4c107cd51b4d1ce /include/sysemu
parent6d1f252d8c1ba73bf6ed9af28731a9c9c3d473a2 (diff)
downloadqemu-5f5b5942d56a138baad0ae01458d5d0e62d5be68.zip
qemu-5f5b5942d56a138baad0ae01458d5d0e62d5be68.tar.gz
qemu-5f5b5942d56a138baad0ae01458d5d0e62d5be68.tar.bz2
Added generic panic handler qemu_system_guest_panicked()
There are pieces of guest panic handling code that can be shared in one generic function. These code replaced by call qemu_system_guest_panicked(). Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Andreas Färber <afaerber@suse.de> Message-Id: <1435924905-8926-10-git-send-email-den@openvz.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/sysemu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 44570d1..1f6ff8f 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -69,6 +69,7 @@ int qemu_reset_requested_get(void);
void qemu_system_killed(int signal, pid_t pid);
void qemu_devices_reset(void);
void qemu_system_reset(bool report);
+void qemu_system_guest_panicked(void);
void qemu_add_exit_notifier(Notifier *notify);
void qemu_remove_exit_notifier(Notifier *notify);