Received: from [140.186.70.92] (port=49206 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzWAj-00059x-Uk for qemu-devel@nongnu.org; Tue, 15 Mar 2011 11:28:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzWAc-0003vC-8W for qemu-devel@nongnu.org; Tue, 15 Mar 2011 11:28:33 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:34487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzWAb-0003v0-Sv for qemu-devel@nongnu.org; Tue, 15 Mar 2011 11:28:26 -0400 Received: by eyb6 with SMTP id 6so248354eyb.4 for ; Tue, 15 Mar 2011 08:28:24 -0700 (PDT) Message-ID: <4D7F8596.3010206@dii.unisi.it> Date: Tue, 15 Mar 2011 16:28:22 +0100 From: Marco Boni MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Addming new options to the QEMU monitor Reply-To: boni@dii.unisi.it List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi. I would like to have some hints on how to implement new options in the QEMU monitor. In particular, I would like to add an instruction counter, so that I can press CTRL+ALT+2 and type something like "instruction_counter", and get the number of instructions that have been executed so far. Is there any code practice to follow? Which source files should I put my hands on? Thank you very much in advance for your help.... m -- Marco Boni Information Engineering Department University of Siena Room 223 Via Roma, 56 53100 Siena ITALY Office: +39 0577 234850 (1085) Mobile: +39 335 607 9353 Email: boni@dii.unisi.it Skype: m.boni