Kasai Takanori
2006-Dec-22 13:07 UTC
[Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kasai Takanori
2006-Dec-25 01:47 UTC
Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command
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.So as to refuse the quit command, the patch was corrected. If there is any problem, please let me know. Thanks -- Takanori Kasai _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kasai Takanori
2007-Jan-10 03:03 UTC
Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command
Hi All, I sent the following patches the other day. This patch makes qemu-dm monitor not support the quit command. Because there is a possibility of shutting down HVM Domain by mistake. We think that the HVM domain should shut down by xm shutdown/destroy command. Could you apply this patch? Thanks, -- Takanori Kasai ----- Original Message ----- From: "Kasai Takanori" <kasai.takanori@jp.fujitsu.com> To: "xen-devel" <xen-devel@lists.xensource.com> Sent: Monday, December 25, 2006 10:47 AM Subject: Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command> 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. > > So as to refuse the quit command, the patch was corrected. > If there is any problem, please let me know. > > Thanks > > -- > Takanori Kasai_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhai, Edwin
2007-Jan-10 03:34 UTC
Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command
quit command is useful when we have no host console(e.g. qemu window on a remote X). and it''s a normal exit that is different from xm destroy(by KILL sig). maybe we can change "q" to "quit" to avoid typo? or provide confirm info? BTW, "q" is most popular command when we debug qemu device model:) On Wed, Jan 10, 2007 at 12:03:24PM +0900, Kasai Takanori wrote:> Hi All, > > I sent the following patches the other day. > This patch makes qemu-dm monitor not support the quit command. > Because there is a possibility of shutting down HVM Domain by mistake. > We think that the HVM domain should shut down by xm shutdown/destroy > command. > Could you apply this patch? > > > Thanks, > > -- > Takanori Kasai > > > ----- Original Message ----- > From: "Kasai Takanori" <kasai.takanori@jp.fujitsu.com> > To: "xen-devel" <xen-devel@lists.xensource.com> > Sent: Monday, December 25, 2006 10:47 AM > Subject: Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit > command > > > >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. > > > >So as to refuse the quit command, the patch was corrected. > >If there is any problem, please let me know. > > > >Thanks > > > >-- > >Takanori Kasai> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- best rgds, edwin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kasai Takanori
2007-Jan-11 12:02 UTC
Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command
Hi Edwin, Thank you for reply.> quit command is useful when we have no host console(e.g. qemu window on a > remote > X). and it''s a normal exit that is different from xm destroy(by KILL sig). > > maybe we can change "q" to "quit" to avoid typo? or provide confirm info? > > BTW, "q" is most popular command when we debug qemu device model:)I understood the "quit" or "q" command was necessary for debugging. However, there is a possibility that the user shuts down the HVM domain by mistake. Cannot you change "quit" or "q" to "quitdomain"? Thanks, -- Takanori Kasai _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kasai Takanori
2007-Jan-17 03:05 UTC
Re: [Xen-devel] [PATCH] qemu-dm monitor doesn''t support the quit command
Hi All, I made the patch that changed it from quit or q to quitdomain. I think that the HVM domain can be prevented being shutted down by the mistake in this patch. If there is any problem, please let me know.>> quit command is useful when we have no host console(e.g. qemu window on a >> remote >> X). and it''s a normal exit that is different from xm destroy(by KILL sig). >> >> maybe we can change "q" to "quit" to avoid typo? or provide confirm info? >> >> BTW, "q" is most popular command when we debug qemu device model:) > > I understood the "quit" or "q" command was necessary for debugging. > However, there is a possibility that the user shuts down the HVM domain by > mistake. > > Cannot you change "quit" or "q" to "quitdomain"?Thanks, -- Takanori Kasai _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Anthony Liguori
2007-Jan-17 05:42 UTC
[Xen-devel] Re: [PATCH] qemu-dm monitor doesn''t support the quit command
Kasai Takanori wrote:> Hi All, > > I made the patch that changed it from quit or q to quitdomain. I think > that the HVM domain can be prevented being shutted down by the mistake > in this patch. If there is any problem, please let me know.It seems to me that this is just one more thing to get us further away from the upstream QEMU tree and to me, that''s a bad thing. It''s not this one patch in particular but once you get enough of these, it starts getting hairy. If you really thing the q command is poorly named, I think you should make that case to the QEMU community. It really isn''t a Xen specific issue. If this really is a problem for you, couldn''t you just keep the patch around for your own use? I haven''t seen anyone else complain of this issue before so I''m not sure it will do anything but confuse other people. Regards, Anthony Liguori>>> quit command is useful when we have no host console(e.g. qemu window >>> on a remote >>> X). and it''s a normal exit that is different from xm destroy(by KILL >>> sig). >>> >>> maybe we can change "q" to "quit" to avoid typo? or provide confirm >>> info? >>> >>> BTW, "q" is most popular command when we debug qemu device model:) >> >> I understood the "quit" or "q" command was necessary for debugging. >> However, there is a possibility that the user shuts down the HVM >> domain by mistake. >> >> Cannot you change "quit" or "q" to "quitdomain"? > > Thanks, > > -- > Takanori Kasai > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kasai Takanori
2007-Jan-17 08:59 UTC
[Xen-devel] Re: [PATCH] qemu-dm monitor doesn''t support the quit command
Hi Anthony, Thank you for reply. I want to achieve it by other methods.>> I made the patch that changed it from quit or q to quitdomain. I think >> that the HVM domain can be prevented being shutted down by the mistake >> in this patch. If there is any problem, please let me know. > > It seems to me that this is just one more thing to get us further away > from the upstream QEMU tree and to me, that''s a bad thing. It''s not > this one patch in particular but once you get enough of these, it starts > getting hairy.I also think certainly like that.> If you really thing the q command is poorly named, I think you should > make that case to the QEMU community. It really isn''t a Xen specific issue.It is natural that there is quit command in original QEMU. I do not think the agreement in the QEMU community.> If this really is a problem for you, couldn''t you just keep the patch > around for your own use? I haven''t seen anyone else complain of this > issue before so I''m not sure it will do anything but confuse other people.It was thought that it was necessary for the user''s using by the operational aspect. Thanks, -- Takanori Kasai _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Reasonably Related Threads
- [PATCH] [IOEMU] Allow blktap to be able to be booted as systemvolume for PV-on-HVM(TAKE 3)
- [PATCH]Add the Japanese keymap for VNC Server.
- [PATCH] fix free of event channel in blkfront
- [PATCH] Fix change of CDROM for block-configure command
- [PATCH] [PV-ON-HVM] Fix evtchn interface