From: "Mike Sun" Subject: Re: Making pages writable again in paging_log_dirty mode Date: Fri, 19 Dec 2008 16:59:34 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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