Subject: CVS commit: src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 09/10/2005 15:46:04
Module Name:	src
Committed By:	bouyer
Date:		Sat Sep 10 15:46:04 UTC 2005

Modified Files:
	src/sys/arch/xen/i386: pmap.c

Log Message:
Apply patch from Jed Davis, posted to port-xen:
In pmap_remap_pages() new mappings are created (PG_RW|PG_M). When saving
a domain, the hypervisor will refuse to map the foreing pages RW.
As a temporary measure, retry the mapping read-only if PG_RW fails, so that
domain save will work. Also fix the PTP's wire_count if the MMU update
fails (prevent a kernel panic).


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/xen/i386/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.