aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-03-21 14:11:51 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-21 14:11:51 -0500
commit365c4243ecdd0eb2372ce4a5bb20ded77c755c1d (patch)
tree468dbded05fccfe8a1a958d659759390f7312a1d /vl.c
parent8ec68b06bd0916d176f468bad39f7096e046172a (diff)
downloadqemu-365c4243ecdd0eb2372ce4a5bb20ded77c755c1d.zip
qemu-365c4243ecdd0eb2372ce4a5bb20ded77c755c1d.tar.gz
qemu-365c4243ecdd0eb2372ce4a5bb20ded77c755c1d.tar.bz2
Revert "Add exit notifiers"
This reverts commit 3b6304f706ef7eebc0b3b3f3a5093ec75448ee19. This was mistakenly committed. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/vl.c b/vl.c
index 2e38b77..8274c1d 100644
--- a/vl.c
+++ b/vl.c
@@ -154,7 +154,6 @@ int main(int argc, char **argv)
#include "qemu-option.h"
#include "qemu-config.h"
#include "qemu-objects.h"
-#include "notify.h"
#include "disas.h"
@@ -560,32 +559,6 @@ static int socket_init(void)
}
#endif
-/*********************/
-/* Exit notifiers */
-/*********************/
-
-static NotifierList exit_notifiers = NOTIFIER_LIST_INITIALIZER(exit_notifiers);
-
-void exit_notifier_add(Notifier *notifier)
-{
- notifier_list_add(&exit_notifiers, notifier);
-}
-
-void exit_notifier_remove(Notifier *notifier)
-{
- notifier_list_remove(&exit_notifiers, notifier);
-}
-
-static void exit_notifier_notify(void)
-{
- notifier_list_notify(&exit_notifiers);
-}
-
-static void exit_notifier_init(void)
-{
- atexit(exit_notifier_notify);
-}
-
/***********************************************************/
/* Bluetooth support */
static int nb_hcis;