Fix termination by signal with -no-shutdown
PATCH 1/1 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 <[email protected]>
--- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
vl.c +1 -0
@@ -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 (); }
Signature · 1 line
1.7.6
Anthony Liguori
AppliedQuoted 4 lines · Kevin Wolf
On signals such as SIGTERM qemu should exit instead of just stopping the VM even with -no-shutdown.
Signed-off-by Kevin Wolf<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 16 lines
--- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)vl.c +1
-0@@ -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 (); }