|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Does paging_gva_to_gfn() convert to mfn for PV guests?
Hmm... I'm not sure if I'm understanding clearly what you're saying.
If I use this function to translate virtual addresses from dom0 (a PV
guest without shadow paging). will I get an mfn or a pfn?
My expectation would be that I get an mfn since PV guests without any
sort of shadow paging have virt --> machine translations installed in
the page tables and do not actually use the p2m table for translation.
Is this correct?
Thanks,
Mike
On Tue, May 13, 2008 at 4:34 AM, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:
>
> At 16:01 -0400 on 12 May (1210608109), Mike Sun wrote:
> > Does the function "paging_gva_to_gfn()" in
> > xen/include/asm-x86/paging.h translate from guest virtual address to
> > mfns or to pfns in PV guests that are not using fully translated
> > shadow page tables (e.g. dom)?
>
> It ought to, as long as they're using *some* kind of paging assistance.
> For non-HVM guests, that means shadow paging, e.g. log-dirty or 'test' mode.
>
> Tim.
>
> --
> Tim Deegan <Tim.Deegan@xxxxxxxxxx>
> Principal Software Engineer, Citrix Systems (R&D) Ltd.
> [Company #02300071, SL9 0DZ, UK.]
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|