All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-dm monitor doesn't support the quit command
@ 2006-12-22 13:07 Kasai Takanori
  2006-12-25  1:47 ` Kasai Takanori
  0 siblings, 1 reply; 8+ messages in thread
From: Kasai Takanori @ 2006-12-22 13:07 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

Hi All,

It is natural that there is quit command in original QEMU. 
However, I don't think that the HVM domain on Xen is necessary.
Because there is a possibility of shutting down GuestOS due to the mistake. 
I think that I should prohibit the quit command of qemu-dm. 

Thanks

--
Takanori Kasai

[-- Attachment #2: qemu-monitor-quit.patch --]
[-- Type: application/octet-stream, Size: 643 bytes --]

# HG changeset patch
# User kasai.takanori@jp.fujitsu.com
# Node ID ef195d27a54ef7d5e256788d5a1a51ee55e2bcf6
# Parent  360eb996fa38319867a74bf581c734a80bf6839d
qemu-dm monitor doesn't support the quit command.

diff -r 360eb996fa38 -r ef195d27a54e tools/ioemu/monitor.c
--- a/tools/ioemu/monitor.c	Wed Dec 13 16:13:26 2006 +0000
+++ b/tools/ioemu/monitor.c	Thu Dec 21 12:08:18 2006 +0900
@@ -309,8 +309,7 @@ static void do_info_history (void)
 
 static void do_quit(void)
 {
-    destroy_hvm_domain();
-    exit(0);
+    term_printf("quit is not supported\n");
 }
 
 static int eject_device(BlockDriverState *bs, int force)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2007-01-17  8:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-22 13:07 [PATCH] qemu-dm monitor doesn't support the quit command Kasai Takanori
2006-12-25  1:47 ` Kasai Takanori
2007-01-10  3:03   ` Kasai Takanori
2007-01-10  3:34     ` Zhai, Edwin
2007-01-11 12:02       ` Kasai Takanori
2007-01-17  3:05         ` Kasai Takanori
2007-01-17  5:42           ` Anthony Liguori
2007-01-17  8:59             ` Kasai Takanori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.