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] Re: Making pages writable again in paging_log_dirty mode

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Making pages writable again in paging_log_dirty mode
From: "Mike Sun" <msun@xxxxxxxxxx>
Date: Fri, 19 Dec 2008 16:59:34 -0500
Delivery-date: Fri, 19 Dec 2008 14:00:12 -0800
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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=sTHEJlPqOKdOQ6/ZWeUlsxXfcM/UBA7l8sEAPr+2U+U=; b=ULNQ4g77LoOW6rVQpFCAKJK+Y3T3IMhRW67eI0nJCYISmmL7WJPKcZaDvDFlvMJ0sM RxR+ZNkZ766rxGI9aWM4KjW1/iBQwxTCFov3NUfNSLIroQ+vP/XItUoUhASCIuyNFn8J 6Amuna57s1rj3Qc7HXjxX1KyLQ8Vo3PGiHGOI=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e4e579070812191308q77c3a398p6baa246cff5f7ab2@xxxxxxxxxxxxxx>
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>
References: <e4e579070812191254k6bc57cf7hfb60e900c1a3c0aa@xxxxxxxxxxxxxx> <e4e579070812191308q77c3a398p6baa246cff5f7ab2@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>