[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Given a mfn, how to tell whether it is a guest page or not?
- To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
- From: ZelluX <zellux@xxxxxxxxx>
- Date: Thu, 30 Jul 2009 22:17:48 +0800
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 30 Jul 2009 07:18:19 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cLZqaVMQLLZacFVmVcbLWcCqB3wX3fcOnVvQ/AnrrYfQ+O7KuDUQcdXZYf+RqsZVbd rY30IgG4lnlj/o0TfAaUS2zvAEaiOGUT3wXUxKnjSSOIoPVub4zFaCVAXVo/YocTP+19 C4Ww4zVL3Xgaoo6pl6Mew8r/yMY9w0DbR6Ruo=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
I'm reading arch/x86/mm/shadow/multi.c and it seems shadow_page_info struct is used here, which doesn't contain a _domain field. Is there any relation between shadow_page_info and page_info? Are page_info just place holder for shadow_page_info struct here?
On Thu, Jul 30, 2009 at 10:03 PM, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:
At 08:24 +0100 on 30 Jul (1248942251), ZelluX wrote:
> In shadow mode, how can I know if a mfn is related to a guest page? Is there any mfn range to tell xen pages from guest pages?
In any mode, look at the owner field of the page_info struct.
Cheers,
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
|