[Qemu-devel] Device Configuration

2011-08-04 Thread Nilay Vaish
Hello Is it possible to configure the set of devices that are emulated when a virtual machine is spawned? In particular, I am looking whether is it possible to create only one DMA controller. The code in file hw/dma.c is creates two DMA controllers. One way would be to just re-write that code

Re: [Qemu-devel] struct TimerState

2011-06-23 Thread Nilay Vaish
On Wed, 22 Jun 2011, Andreas F?rber wrote: Am 21.06.2011 um 12:24 schrieb Nilay Vaish: Is there a way to know how many cycles the virtual machine has been running for? No. QEMU's emulation is not cycle-accurate. The instruction counter (icount) gives you an indication of how much wor

Re: [Qemu-devel] struct TimerState

2011-06-21 Thread Nilay Vaish
On Tue, 21 Jun 2011, Llu??s wrote: Nilay Vaish writes: Let me ask a more pointed question. Is there a way to know how many cycles the virtual machine has been running for? A comment that appears before the defintion of the TimerState structure -- guest cycle counter. AFAIR, the TimerState

Re: [Qemu-devel] struct TimerState

2011-06-21 Thread Nilay Vaish
On Mon, 20 Jun 2011, Llu??s wrote: Nilay writes: I am trying to understand the structures that QEMU saves when do_savevm() is invoked. Can anyone explain to me the fields that are part of the TimerState structure in qemu-timer.c? If my meory does not fail me, its main task is to capture wha