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

[Xen-devel] Re: Making pages writable again in paging_log_dirty mode


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Mike Sun" <msun@xxxxxxxxxx>
  • Date: Fri, 19 Dec 2008 16:59:34 -0500
  • Delivery-date: Fri, 19 Dec 2008 14:00:12 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=hcc6K/FAieoB/UIZCGIVwYq3fQptES9Yh34kkWkLI6eiH0YEfgjbhcu1ePNr1vyNFN jGXfrVScObGj8SNe5aJj5XkO6L7+rKAbuO+74Su2JmQFZGSsyuWisgJRMmwJlxuI+s/i wS1Gv0EsI0OeSdbyKADDkaTFpUVWBALsd96IY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Well I've managed to figure out the problem.  Seems like I was write,
if I try to make an HVM guest page writable from dom0 by just changing
the PTE on the shadow, it doesn't increment the page type counter.
But it does decrement it, so it overflows.

Question then is when pages are made read-only because of
log_dirty_mode, are their page types still kept as PGT_writable page
(I use that to determine which pages I can make writable again and
that shouldn't be kept as read-only), or do those pages become
PGT_none?

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®.