]> git.proxmox.com Git - qemu.git/blobdiff - sysemu.h
Add exit notifiers
[qemu.git] / sysemu.h
index 525efd13cbcfb163eb7e841cff37e89fa507b769..bc33abfc9b1ef870c564a752387a6359283c171f 100644 (file)
--- a/sysemu.h
+++ b/sysemu.h
@@ -8,6 +8,7 @@
 #include "qemu-timer.h"
 #include "qdict.h"
 #include "qerror.h"
+#include "notify.h"
 
 #ifdef _WIN32
 #include <windows.h>
@@ -73,6 +74,10 @@ int qemu_savevm_state_complete(Monitor *mon, QEMUFile *f);
 void qemu_savevm_state_cancel(Monitor *mon, QEMUFile *f);
 int qemu_loadvm_state(QEMUFile *f);
 
+void exit_notifier_add(Notifier *notifier);
+void exit_notifier_remove(Notifier *notifier);
+
+
 #ifdef _WIN32
 /* Polling handling */