qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] vl: make --no-shutdown persist
@ 2011-07-10  9:18 Alon Levy
  0 siblings, 0 replies; only message in thread
From: Alon Levy @ 2011-07-10  9:18 UTC (permalink / raw)
  To: qemu-devel

If --no-shutdown is specified it only applies for a single shutdown
, so the second shutdown does trigger an exit of qemu.

This patch changes that to keep on not shuting down.
---
 vl.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index fcd7395..fb694cb 100644
--- a/vl.c
+++ b/vl.c
@@ -1398,7 +1398,6 @@ static void main_loop(void)
             monitor_protocol_event(QEVENT_SHUTDOWN, NULL);
             if (no_shutdown) {
                 vm_stop(VMSTOP_SHUTDOWN);
-                no_shutdown = 0;
             } else
                 break;
         }
-- 
1.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-10  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10  9:18 [Qemu-devel] [RFC] vl: make --no-shutdown persist Alon Levy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).