From: "Kasai Takanori" Subject: [PATCH] qemu-dm monitor doesn't support the quit command Date: Fri, 22 Dec 2006 22:07:15 +0900 Message-ID: <15d001c725ca$326f3980$dab2220a@VF03007L> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_15CA_01C72615.8A3A3E30" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_15CA_01C72615.8A3A3E30 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_15CA_01C72615.8A3A3E30 Content-Type: application/octet-stream; name="qemu-monitor-quit.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="qemu-monitor-quit.patch" # HG changeset patch=0A= # User kasai.takanori@jp.fujitsu.com=0A= # Node ID ef195d27a54ef7d5e256788d5a1a51ee55e2bcf6=0A= # Parent 360eb996fa38319867a74bf581c734a80bf6839d=0A= qemu-dm monitor doesn't support the quit command.=0A= =0A= diff -r 360eb996fa38 -r ef195d27a54e tools/ioemu/monitor.c=0A= --- a/tools/ioemu/monitor.c Wed Dec 13 16:13:26 2006 +0000=0A= +++ b/tools/ioemu/monitor.c Thu Dec 21 12:08:18 2006 +0900=0A= @@ -309,8 +309,7 @@ static void do_info_history (void)=0A= =0A= static void do_quit(void)=0A= {=0A= - destroy_hvm_domain();=0A= - exit(0);=0A= + term_printf("quit is not supported\n");=0A= }=0A= =0A= static int eject_device(BlockDriverState *bs, int force)=0A= ------=_NextPart_000_15CA_01C72615.8A3A3E30 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_NextPart_000_15CA_01C72615.8A3A3E30--