[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xc_domain_translate_gpfn_list vanished from unstable
On 9/1/07 20:48, "James Pendergrass" <James.Pendergrass@xxxxxxxxxx> wrote: > but this fails for > HVM's (changeset 13282:9865145e53eb) > when xc_translate_foreign_address claims that it is unable to map the > PD of the HVM. > > Presumably this is because the cr3 value returned by > xc_vcpu_getcontext holds the machine frame number > page tables (presumably this is the guest cr3 so the page tables map > gvas to gpfns and not the host cr3 that > is used by the hardware to map gvas to gmfns). No, CR3 is a pseudophysical address (it's the value that the guest wrote, with no translation done on it). If the failure message mentions 'PD' rather than 'PML4' then I think it's the table 2 levels down that isn't getting mapped. Add some extra tracing to the function and check that the PDEs you've seen on the pagetable walk actually look sane. > Can you suggest an approach that would actually work? Expect to need to fix up functions in libxc. Some of these are only used by debug/diagnostic tools so they're not always up to date. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |