qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC] vl: make --no-shutdown persist


From: Alon Levy
Subject: [Qemu-devel] [RFC] vl: make --no-shutdown persist
Date: Sun, 10 Jul 2011 12:18:19 +0300

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]