From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0eMq-0001WD-RS for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:48:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0eMm-0001Mx-3E for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:48:56 -0400 Received: from [199.232.76.173] (port=40662 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0eMl-0001Me-Qy for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:48:51 -0400 Received: from mail-ew0-f221.google.com ([209.85.219.221]:33997) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0eMl-0006BH-BY for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:48:51 -0400 Received: by ewy21 with SMTP id 21so5463208ewy.8 for ; Wed, 21 Oct 2009 09:48:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: 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> Date: Wed, 21 Oct 2009 14:48:50 -0200 Message-ID: <5d6222a80910210948s1b92c1f8h7d521928d02f9dfc@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM From: Glauber Costa Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mulyadi Santosa Cc: Kevin Wolf , qemu-devel@nongnu.org On Wed, Oct 21, 2009 at 2:44 PM, Mulyadi Santosa wrote: > On Wed, Oct 21, 2009 at 11:24 PM, Glauber Costa wrote: >> You can provide a monitor command to do that >> >> something in the lines of: >> - add_macro >> - remove_macro >> - list_macros > > Please CMIIW, "command_list" here refers to at least one of monitor > commands, right? meaning, i.e one could do: > add_macro ctrl_alt_shift_s "stop" > > or extend that so it does: > add_macro ctrl_alt_shift_s "stop print $pc" > > so, it stops the VM followed by printing program counter. yes, this is what I meant. But notice that this is just a suggestion. The internet is a free country, and if you are indeed implementing this, you are free to add your own spice. -- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."