[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] pfn to mfn mapping for HVM domains?
On 29/11/06 5:54 am, "Bryan D. Payne" <bryan@xxxxxxxxxxxx> wrote: > It turns out that the problem I ran into relates to how the value > "swapper_pg_dir" from the System map is used. For PV domains, this > value points to a location in memory that holds the virtual address > of the base of the kpgd. For HVM domains, this value points to the > base of the kpgd. I'm not sure why the difference exists (I'd > certainly be interested in learning if someone could explain it), but > this was the key insight that fixed my problems. It's the difference between 'pgd_t *' and 'pgd_t []'. PV guests get their swapper_pgdir from the domain builder rather than having it defined as an array in their static data section. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |