Clement Deschamps
Builds for 1 pipeline failed in 2 minutes 12 seconds

qbox: clean qemu exit

Showing 1 changed file with 6 additions and 15 deletions
... ... @@ -203,7 +203,6 @@ static char **gbl_envp;
static QemuThread iothread;
void *qemu_iothread_fn(void *opaque);
#endif /* CONFIG_QBOX */
void qemu_clean(void);
/* The bytes in qemu_uuid are in the order specified by RFC4122, _not_ in the
* little-endian "wire format" described in the SMBIOS 2.6 specification.
... ... @@ -4702,20 +4701,6 @@ int main(int argc, char **argv, char **envp)
os_setup_post();
main_loop();
qemu_clean();
#ifdef CONFIG_QBOX
qbox_exit();
return 0;
#else
return 0;
#endif
}
void qemu_clean(void)
{
replay_disable_events();
iothread_stop_all();
gdbserver_cleanup();
... ... @@ -4736,4 +4721,10 @@ void qemu_clean(void)
user_creatable_cleanup();
migration_object_finalize();
/* TODO: unref root container, check all devices are ok */
#ifdef CONFIG_QBOX
qbox_exit();
#endif
return 0;
}
... ...