[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] CR3 Virtual Address
On Wed, Nov 28, 2012 at 4:06 PM, Mats Petersson <mats.petersson@xxxxxxxxxx> wrote: As per Andy Cooper's answer, but further: For my project I'm trying to dump all physical memory of the machine from hypervisor layer so I can get access to all physical memory. Then when I obtained the dump of the physical pages I want to find out the VMCS structures of the running guests. In order to do that I was thinking that I can insert an entry into a HV page table that maps an arbitrary virtual address into a determine physical address. By using this trick I should be able to map all the physical memory address and read/dump it by reading the virtual address. So following this solution my problem now is to find out the virtual address of the page directory pointer table (pae address mode 32 bits). The "HOST_CR3" is the Xen (VCPU's) true CR3 (for the "host" or "root" mode, as Intel calls it - this is the hypervisor itself). it is set from vcpu.arch.cr3. So the VMCS is available here, or the system would crash when it returns from guest operation. Ok, perfect.
Actually we would like to know if there are any functions for mapping a physical page into a virtual page. Could you please point me out in more precisely way to the name of those functions? I'm working with pae address mode 32 bits. Thanks _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |