diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-21 14:13:02 -0500 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-21 14:13:02 -0500 |
| commit | 28695489e392e2bd34cf4ccf8611d431808e084c (patch) | |
| tree | 8edbda8b30cb4bbbd4636c1c9dbb8c6ecead181a /hw/xen_machine_pv.c | |
| parent | 365c4243ecdd0eb2372ce4a5bb20ded77c755c1d (diff) | |
| download | focaccia-qemu-28695489e392e2bd34cf4ccf8611d431808e084c.tar.gz focaccia-qemu-28695489e392e2bd34cf4ccf8611d431808e084c.zip | |
Revert "Convert atexit users to exit_notifier"
This reverts commit d7234f4d7e373a708e1df9ab565a71b71b189025. Conflicts: hw/xen_machine_pv.c This should have never been committed. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xen_machine_pv.c')
| -rw-r--r-- | hw/xen_machine_pv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xen_machine_pv.c b/hw/xen_machine_pv.c index fe7d35cf89..162f88db33 100644 --- a/hw/xen_machine_pv.c +++ b/hw/xen_machine_pv.c @@ -42,7 +42,6 @@ static void xen_init_pv(ram_addr_t ram_size, CPUState *env; DriveInfo *dinfo; int i; - static Notifier exit_notifier = { .notify = xen_config_cleanup }; /* Initialize a dummy CPU */ if (cpu_model == NULL) { @@ -106,7 +105,7 @@ static void xen_init_pv(ram_addr_t ram_size, } /* config cleanup hook */ - exit_notifier_add(&exit_notifier); + atexit(xen_config_cleanup); /* setup framebuffer */ xen_init_display(xen_domid); |