From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0eIp-0003EH-Dh for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:44:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0eIk-00036v-NE for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:44:46 -0400 Received: from [199.232.76.173] (port=42717 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0eIk-00036b-HW for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:44:42 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]:63932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0eIj-0004wL-UL for qemu-devel@nongnu.org; Wed, 21 Oct 2009 12:44:42 -0400 Received: by pzk26 with SMTP id 26so4930730pzk.4 for ; Wed, 21 Oct 2009 09:44:41 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5d6222a80910210924j62505b7dtf298754ce65f1c99@mail.gmail.com> 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> From: Mulyadi Santosa Date: Wed, 21 Oct 2009 23:44:18 +0700 Message-ID: Subject: Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Glauber Costa Cc: Kevin Wolf , qemu-devel@nongnu.org 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. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com