[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Addming new options to the QEMU monitor

From: Vincent Palatin
Subject: Re: [Qemu-devel] Addming new options to the QEMU monitor
Date: Tue, 15 Mar 2011 11:44:50 -0400

On Tue, Mar 15, 2011 at 11:28, Marco Boni <address@hidden> wrote:
> 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.

You should have a look at the "-icount" command line option and its

> Is there any code practice to follow?

Yes, there are some requirements on the Wiki :

>Which source files should I put my
> hands on?

have a look at monitor.c and the hmp-command.hx to add simply a new command.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]