diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2011-09-14 15:38:40 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-16 08:25:56 -0500 |
| commit | d9389b9664df561db796b18eb8309fffe58faf8b (patch) | |
| tree | df66f03a217ca94bb61314810fbb4fe9c1fb7e8d | |
| parent | b2bedb214469af55179d907a60cd67fed6b0779e (diff) | |
| download | focaccia-qemu-d9389b9664df561db796b18eb8309fffe58faf8b.tar.gz focaccia-qemu-d9389b9664df561db796b18eb8309fffe58faf8b.zip | |
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 <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| -rw-r--r-- | vl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |