summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorEmilio G. Cota2018-10-21 19:27:28 +0200
committerAlex Bennée2019-10-28 16:12:38 +0100
commit8634d77bdb1df00972159fefe5caf1d28911f05f (patch)
tree10dc5dff165805a76d20344a031029808bd4d75b /linux-user
parenttranslate-all: notify plugin code of tb_flush (diff)
downloadqemu-8634d77bdb1df00972159fefe5caf1d28911f05f.tar.gz
qemu-8634d77bdb1df00972159fefe5caf1d28911f05f.tar.xz
qemu-8634d77bdb1df00972159fefe5caf1d28911f05f.zip
*-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')
-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 bdda720553..a362ef67d2 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();
}