qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Use clean shutdown request for ctrl-a x
@ 2012-07-03 13:38 Fabien Chouteau
  2012-07-03 14:00 ` Peter Maydell
  0 siblings, 1 reply; 8+ messages in thread
From: Fabien Chouteau @ 2012-07-03 13:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori


Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
---
 qemu-char.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qemu-char.c b/qemu-char.c
index c2aaaee..1f43c95 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -353,7 +353,7 @@ static int mux_proc_byte(CharDriverState *chr, MuxDriver *d, int ch)
             {
                  const char *term =  "QEMU: Terminated\n\r";
                  chr->chr_write(chr,(uint8_t *)term,strlen(term));
-                 exit(0);
+                 qemu_system_shutdown_request();
                  break;
             }
         case 's':
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-04 10:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-03 13:38 [Qemu-devel] [PATCH] Use clean shutdown request for ctrl-a x Fabien Chouteau
2012-07-03 14:00 ` Peter Maydell
2012-07-03 14:49   ` Paolo Bonzini
2012-07-03 15:07     ` Fabien Chouteau
2012-07-04 10:07       ` Kevin Wolf
2012-07-04 10:27         ` Fabien Chouteau
2012-07-04 10:32           ` Kevin Wolf
2012-07-04 10:51             ` Fabien Chouteau

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).