aboutsummaryrefslogtreecommitdiff
path: root/linux-user/exit.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-10-21 13:27:28 -0400
committerAlex Bennée <alex.bennee@linaro.org>2019-10-28 15:12:38 +0000
commit8634d77bdb1df00972159fefe5caf1d28911f05f (patch)
tree10dc5dff165805a76d20344a031029808bd4d75b /linux-user/exit.c
parent5025bb7fde57de2fa76d3ed4277b8b4aaa1b1a69 (diff)
downloadqemu-8634d77bdb1df00972159fefe5caf1d28911f05f.zip
qemu-8634d77bdb1df00972159fefe5caf1d28911f05f.tar.gz
qemu-8634d77bdb1df00972159fefe5caf1d28911f05f.tar.bz2
*-user: notify plugin of exit
Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'linux-user/exit.c')
-rw-r--r--linux-user/exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/exit.c b/linux-user/exit.c
index bdda720..a362ef6 100644
--- a/linux-user/exit.c
+++ b/linux-user/exit.c
@@ -35,4 +35,5 @@ void preexit_cleanup(CPUArchState *env, int code)
__gcov_dump();
#endif
gdb_exit(env, code);
+ qemu_plugin_atexit_cb();
}