xen-devel
Re: [Xen-devel] xen and cr0,cr3,cr4
>
> > > All dandy and nice. now the weird part is that if I try to list Page Table
> > > entries referenced by by Page Directory in either setup I get an ooops
> > > saying that the referneced Page Table is not in memory.
> > >
> > > No such problems in linux classic... weird.
> >
> > How are you converting the address in the PDE into something you can
> > dereference? You should be using machine_to_virt() (*not*
> > phys_to_virt()).
>
> yeah, that definitely helps, in so far that I was able to list low
> memory, ie 0-(4gb-64), but it still seems to get confused once it gets
> into xen space...
Your Linux instance has no valid virtual address for the Xen-private
page tables (machine_to_virt() is only usable for pages of memory that
are permanently mapped into Linux's address space). In fact, Xen won't
allow any domain to map any of it's private memory, so there is no way
for you to print the PT contents from Linux, unless you hack the
mapping-checking code in Xen.
-- Keir
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] xen and cr0,cr3,cr4, Adam Sulmicki
- Re: [Xen-devel] xen and cr0,cr3,cr4, Keir Fraser
- Re: [Xen-devel] xen and cr0,cr3,cr4, Adam Sulmicki
- Re: [Xen-devel] xen and cr0,cr3,cr4, Ian Pratt
- Re: [Xen-devel] xen and cr0,cr3,cr4, Adam Sulmicki
- Re: [Xen-devel] xen and cr0,cr3,cr4, Keir Fraser
- Re: [Xen-devel] xen and cr0,cr3,cr4, Adam Sulmicki
- Re: [Xen-devel] xen and cr0,cr3,cr4,
Keir Fraser <=
|
|
|