Revision d7234f4d hw/xen_machine_pv.c

b/hw/xen_machine_pv.c
42 42
    CPUState *env;
43 43
    DriveInfo *dinfo;
44 44
    int i;
45
    static Notifier exit_notifier = { .notify = xen_config_cleanup };
45 46

  
46 47
    /* Initialize a dummy CPU */
47 48
    if (cpu_model == NULL) {
......
105 106
    }
106 107

  
107 108
    /* config cleanup hook */
108
    atexit(xen_config_cleanup);
109
    exit_notifier_addr(&exit_notifier);
109 110

  
110 111
    /* setup framebuffer */
111 112
    xen_init_display(xen_domid);

Also available in: Unified diff