Re: [Qemu-devel] Reserve physical memory region in QEMU

2015-08-24 Thread Naman patel
Extremely sorry, my bad, its *cpu_physical_memory_write() *function to be precise. Regards, Naman On Tue, Aug 25, 2015 at 8:46 AM, Naman patel wrote: > Hi, > My requirement is to have a reserved physical memory region for QEMU > that can be written using *cpu_physical_memo

[Qemu-devel] Reserve physical memory region in QEMU

2015-08-24 Thread Naman patel
Hi, My requirement is to have a reserved physical memory region for QEMU that can be written using *cpu_physical_memory_region(),* which then can also be used by the linux kernel for reading and writing. How can one reserve such memory region in QEMU 2.0? And what care should one take while do

Re: [Qemu-devel] Call Trace for QEMU functions

2015-08-03 Thread Naman patel
On Fri, Jul 31, 2015 at 3:32 PM, Peter Maydell wrote: > On 31 July 2015 at 10:29, Naman patel wrote: > > Can someone explain me what happens when a guest OS calls "invlpg" on say > > page swap out or a context switch? What exactly is the call flow and how > >

Re: [Qemu-devel] Call Trace for QEMU functions

2015-07-31 Thread Naman patel
MU handles this instruction? Also is there anyway QEMU can send some data back to the guest OS? P.S. : Sorry if my questions look like generic queries but I am kinda of stuck here. On Thu, Jul 30, 2015 at 8:34 PM, Alex Bennée wrote: > > Peter Maydell writes: > > > On 30 July 2015 at