Re: [Qemu-devel] target_phys_addr_t vs ram_addr_t

2011-09-07 Thread Sinha, Ani
Thanks guys for the explanations. I'd try and add some comments to the code explaining the apis once I have a better understanding of the code. Right now I am still digesting the undocumented apis. ani On Sep 3, 2011, at 6:14 AM, Peter Maydell wrote: > On 3 September 2011 12:26, Blue Swirl wr

Re: [Qemu-devel] target_phys_addr_t vs ram_addr_t

2011-09-03 Thread Peter Maydell
On 3 September 2011 12:26, Blue Swirl wrote: > On Fri, Sep 2, 2011 at 6:08 AM, Sinha, Ani wrote: >> First off, what is the difference between target_phys_addr_t and >> ram_addr_t? I believe the former is a virtual address within the guest but >> what is the later? The comment says "address in ram

Re: [Qemu-devel] target_phys_addr_t vs ram_addr_t

2011-09-03 Thread Blue Swirl
On Fri, Sep 2, 2011 at 6:08 AM, Sinha, Ani wrote: > Hi Folks : > > I am trying to write a virtio driver and towards this end I am looking at > the qemu code. I am a little confused about a few things. Unfortunately, > the few comments in the code does not make it clear for me. So I am > wondering

[Qemu-devel] target_phys_addr_t vs ram_addr_t

2011-09-01 Thread Sinha, Ani
Hi Folks : I am trying to write a virtio driver and towards this end I am looking at the qemu code. I am a little confused about a few things. Unfortunately, the few comments in the code does not make it clear for me. So I am wondering if any kind person on this mailing list would be able to help.