From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UekVt-0008Un-Ar for qemu-devel@nongnu.org; Tue, 21 May 2013 07:13:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UekVq-0002Z6-DI for qemu-devel@nongnu.org; Tue, 21 May 2013 07:13:53 -0400 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:33668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UekVq-0002Yk-5h for qemu-devel@nongnu.org; Tue, 21 May 2013 07:13:50 -0400 Received: by mail-ea0-f170.google.com with SMTP id f15so305661eak.15 for ; Tue, 21 May 2013 04:13:48 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 21 May 2013 16:43:48 +0530 Message-ID: From: Shehbaz Jaffer Content-Type: multipart/alternative; boundary=047d7b343da220379b04dd388b01 Subject: [Qemu-devel] Get Guest Virtual to Host Physical address mapping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --047d7b343da220379b04dd388b01 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to find out the Guest VA to Host PA mapping in QEMU. Can someone give ideas about the data-structures that are used for storing the same? From the code, It looks like the CPU_X86 state contains control registers, and from the cr[3] register, I can get the page table address. but can someone please give me pointers as to how I can store the whole GVA to HPA mapping in a file? Note that when I save the GVA to HPA mapping, the guest is paused. (vm_stop() is called). Thankyou. -- Shehbaz Jaffer Graduate Student Department of Computer Engineering Indian Institute of Technology, Delhi --047d7b343da220379b04dd388b01 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I am trying to find out the Guest VA to Host PA= mapping in QEMU. Can someone give ideas about the data-structures that are= used for storing the same? From the code, It looks like the CPU_X86 state = contains control registers, and from the cr[3] register, I can get the page= table address. but can someone please give me pointers as to how I can sto= re the whole GVA to HPA mapping in a file?

Note that when I save the GVA to HPA mapping, the guest is paused. (vm_= stop() is called).

Thankyou.

--
Shehbaz Ja= ffer
Graduate Student
Department of Computer Engineering
Indian In= stitute of Technology, Delhi
--047d7b343da220379b04dd388b01--