Re: [Qemu-devel] About address mapping between host and guest in QEMU

2015-04-24 Thread Wenjie Liu
ncluded in > PANDA or > other open source projects? > > Thanks, > Chris > > -- > Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > -- *Best regards **from* Wenjie Liu TEL: (+86)132 9723 0518 E-mail: *lwj0...@gmail.com * Wuhan National Laboratory for Optoelectronics, Huazhong University of Science&Technology, 1037 Luoyu Road Wuhan, Hubei,P.R.C, 430074.

Re: [Qemu-devel] About address mapping between host and guest in QEMU

2015-04-23 Thread Wenjie Liu
The thing I am trying to achieve is to get the data and guest physical address of every guest memory access, so I need to known which API can be used to do the address transform. Thanks a lot. 2015-04-23 22:03 GMT+08:00 Peter Maydell : > On 23 April 2015 at 14:56, Wenjie Liu wrote: >

Re: [Qemu-devel] About address mapping between host and guest in QEMU

2015-04-23 Thread Wenjie Liu
Can anybody take a few minutes to answer my question? 2015-04-22 23:26 GMT+08:00 Wenjie Liu : > In http://vm-kernel.org/blog/2009/07/10/qemu-internal-part-2-softmmu/, > the following equation is mentioned. > host_virtual_address = phys_ram_base(qemu variable) + > guest_phys

Re: [Qemu-devel] About address mapping between host and guest in QEMU

2015-04-22 Thread Wenjie Liu
bove_4g_mem_size, ram_addr + below_4g_mem_size); } #endif I think the 0x10, 0xa and 0x1ULL have some relation with the guest_physical_address_base. Is that so? 2015-04-22 21:31 GMT+08:00 Wenjie Liu : > Hi all, > I have a little problem about the address mapping betwe

[Qemu-devel] About address mapping between host and guest in QEMU

2015-04-22 Thread Wenjie Liu
Hi all, I have a little problem about the address mapping between host and guest in QEMU. I have got the guest physical address and the host virtual base address of guest's memory space which by check the ramblocks list. So, can I access to the guest's memory content by simply add the guest physi

[Qemu-devel] Get the memory trace

2015-03-14 Thread Wenjie Liu
these method working, so I have to ask you guys for an answer. Thanks a lot. -- *Best regards **from* Wenjie Liu