commit | 31552529a7eba5011dac74bab18a852860c45c9d | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Jan 13 17:34:01 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Feb 17 08:33:32 2012 -0600 |
tree | dda9b8146324b71445dd563530670e6b4da8c5e4 | |
parent | c77de088b1067fc0e0df322e5bac60a3a26a0613 [diff] [blame] |
notifier: switch to QLIST Notifiers do not need to access both ends of the list, and using a QLIST also simplifies the API. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/vl.c b/vl.c index 9609d2b..d8a521a 100644 --- a/vl.c +++ b/vl.c
@@ -2093,7 +2093,7 @@ void qemu_remove_exit_notifier(Notifier *notify) { - notifier_list_remove(&exit_notifiers, notify); + notifier_remove(notify); } static void qemu_run_exit_notifiers(void)