From d9389b9664df561db796b18eb8309fffe58faf8b Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Wed, 14 Sep 2011 15:38:40 +0200 Subject: Fix termination by signal with -no-shutdown On signals such as SIGTERM qemu should exit instead of just stopping the VM even with -no-shutdown. Signed-off-by: Kevin Wolf Signed-off-by: Anthony Liguori --- vl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vl.c') diff --git a/vl.c b/vl.c index b773d2f126..0c2fc3fb3d 100644 --- a/vl.c +++ b/vl.c @@ -1296,6 +1296,7 @@ void qemu_system_killed(int signal, pid_t pid) { shutdown_signal = signal; shutdown_pid = pid; + no_shutdown = 0; qemu_system_shutdown_request(); } -- cgit v1.2.3