]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/exit.c
linux-user: introduce preexit_cleanup
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 22 Jun 2018 16:09:10 +0000 (17:09 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 5 Jul 2018 14:59:41 +0000 (15:59 +0100)
commit708b6a643c7a974ffadf64e00019bdcd60edf6e5
treed731b8484b605bb19dcdf47f6eb85cdee0794bf2
parentfe8bf5f62972ce9f227ae3e25767116a6d221b6d
linux-user: introduce preexit_cleanup

To avoid repeating ourselves move our preexit clean-up code into a
helper function. I figured the continuing effort to split of the
syscalls made it worthwhile creating a new file for it now.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
linux-user/Makefile.objs
linux-user/exit.c [new file with mode: 0644]
linux-user/qemu.h
linux-user/syscall.c