| Submitter | Kevin Wolf |
|---|---|
| Date | Sept. 14, 2011, 1:38 p.m. |
| Message ID | <1316007520-30808-1-git-send-email-kwolf@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/114684/ |
| State | New |
| Headers | show |
Comments
On 09/14/2011 08:38 AM, Kevin Wolf wrote: > 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> Applied. Thanks. Regards, Anthony Liguori > --- > vl.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/vl.c b/vl.c > index b773d2f..0c2fc3f 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(); > } >
Patch
diff --git a/vl.c b/vl.c index b773d2f..0c2fc3f 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(); }
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> --- vl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)