mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Revert "Convert atexit users to exit_notifier"
This reverts commit d7234f4d7e
.
Conflicts:
hw/xen_machine_pv.c
This should have never been committed.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
365c4243ec
commit
28695489e3
8 changed files with 12 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue