From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1Emh-0000L4-DS for qemu-devel@nongnu.org; Fri, 23 Oct 2009 03:42:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1Emc-0000Jn-EX for qemu-devel@nongnu.org; Fri, 23 Oct 2009 03:42:02 -0400 Received: from [199.232.76.173] (port=35862 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Emb-0000Jj-NB for qemu-devel@nongnu.org; Fri, 23 Oct 2009 03:41:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51862) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N1Emb-0002Ct-5S for qemu-devel@nongnu.org; Fri, 23 Oct 2009 03:41:57 -0400 Message-ID: <4AE15DFD.6050203@redhat.com> Date: Fri, 23 Oct 2009 09:40:45 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <4ADCE635.4060604@codemonkey.ws> <4ADD9388.8040206@redhat.com> <20091020170800.GG32538@redhat.com> <4ADEB7EF.3060800@redhat.com> <5d6222a80910210652q3b005ca6ub950a2014bfbaa41@mail.gmail.com> <5d6222a80910210924j62505b7dtf298754ce65f1c99@mail.gmail.com> <20091021183503.GA27677@shareable.org> <20091022124036.5df991f3@doriath> <4AE07D06.4080205@codemonkey.ws> <20091022143833.51c48260@doriath> <4AE0A535.3000607@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: Glauber Costa , Mulyadi Santosa , qemu-devel@nongnu.org, Luiz Capitulino Am 23.10.2009 01:55, schrieb Juan Quintela: > Anthony Liguori wrote: >> Luiz Capitulino wrote: >>> On Thu, 22 Oct 2009 10:40:54 -0500 >>> Anthony Liguori wrote: >>> >>> >>>> Luiz Capitulino wrote: >>>> >>>>> Yeah, I agree. >>>>> >>>>> When testing migration, for example, I have to type 'migrate -d tcp:0:4444' >>>>> several times... Maybe there's a smarter way to do this, but the monitor >>>>> macros idea seems interesting to me. >>>>> >>>> When we have QMP, we can create a QMP socket at a well known >>>> location based on the -name parameter. We could also introduce a >>>> qm command that allowed one to execute monitor commands from the >>>> shell. That allows people to write whatever crazy shell scripts >>>> they want. >>>> >>> >>> Yes. >>> >>> What about the macros idea? Are you against it? >>> >> >> I'm concerned that it's a snowball of complexity waiting to happen for >> very little benefit. >> >> I think we're trying to solve a non-existent problem. > > I fully agree. If we have a had to issue commands to the monitor, we > can use whatever shell/interpreter/... that we like. But I can't bind a keyboard shortcut to such a script which is exactly what this thread is about... What I want to have in the end is my "VM stop" shortcut, dynamically binding keys to monitor commands is just a way to achieve this. I really hate this "You don't need this, I know it better" attitude. If it were only for the technical arguments, okay - I can understand that you don't want to add another magic key, and yes, doing it dynamically comes with some complexity. But all this talking about "non-existent problems" makes me think that you don't... really care about what users want if they are the wrong users (yes, I admit, this one is useful more likely for developers and plain qemu users than for those running their servers in KVM - but they are still users, right?) Kevin