diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-09-14 15:38:40 +0200 |
---|---|---|
committer | Justin M. Forbes <jforbes@redhat.com> | 2011-10-03 14:42:16 -0500 |
commit | fb524042dbc1142406c4d2e5858743c3dc8588c3 (patch) | |
tree | 66d8b0f0002820ab2192d88f0f69e688ce407402 | |
parent | Add support for finding libpng via pkg-config. (diff) | |
download | qemu-kvm-fb524042dbc1142406c4d2e5858743c3dc8588c3.tar.gz qemu-kvm-fb524042dbc1142406c4d2e5858743c3dc8588c3.tar.bz2 qemu-kvm-fb524042dbc1142406c4d2e5858743c3dc8588c3.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
@@ -1282,6 +1282,7 @@ void qemu_system_killed(int signal, pid_t pid) { shutdown_signal = signal; shutdown_pid = pid; + no_shutdown = 0; qemu_system_shutdown_request(); } |