WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Intercepting pf type changes

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Intercepting pf type changes
From: "Mike Sun" <msun@xxxxxxxxxx>
Date: Tue, 21 Oct 2008 18:05:34 -0400
Delivery-date: Tue, 21 Oct 2008 15:06:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=MYkkG9Eci2lk7IXXf3ahUjelatXW//qXtOPJsTJzOaw=; b=Vj4mQdEVFeErJwoUs+irStrSeBQwCNBjJvWlhG3yRIjxVffah510Yd2z2a2yziGrZr Whh5Bxl9x/6BUQkCRqekglQAEsuHW4MglXXLnrpkR9pM0xYhNzXeu+3sivZEKB11l3AF PbNeXUl4assns5s96XE5kjtXpSOH1DKu60cYo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=f6M0eqvBAp34XH3TdQoD26OX0piOYkU1XJbRPchyRcvDHbCd7L2dTbd/yZY60KvEzq a3TLsHaSnBZzA42W+uu5qqJ9Jqlh6zLU6Ez1DpkQYzQtI0A+ECQXqp4IgIUmX4wgBGKE vr6BC6AAR+YiQLxVM7HlVjZa3Sihty8v0xFHg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

The log-dirty mechanism allows me to figure out where in the code
(i.e. paging_mark_dirty()) guest pages are written to.  I'm curious if
there's a clean way for me to intercept or locate when an HVM guest's
pages may have their type changed in Xen, e.g. from a normal page to a
pagetable page or from an invalid page to a normal page.

Also, I was trying to use the xc_get_pfn_type_batch() hypercall to get
the page types for a set of pfns for an HVM domain, but am having
problems.  Is this hypercall only for use with mfns?  I was hoping it
worked the same way xc_map_foreign_batch() does, mfns for PV guests
and pfns for HVM guests.

Thanks,
Mike

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Intercepting pf type changes, Mike Sun <=