[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Intercepting pf type changes


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Mike Sun" <msun@xxxxxxxxxx>
  • Date: Tue, 21 Oct 2008 18:05:34 -0400
  • Delivery-date: Tue, 21 Oct 2008 15:06:07 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.