Subject: CVS commit: [netbsd-3] src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 09/14/2005 22:22:52
Module Name:	src
Committed By:	tron
Date:		Wed Sep 14 22:22:52 UTC 2005

Modified Files:
	src/sys/arch/xen/i386 [netbsd-3]: pmap.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #775):
	sys/arch/xen/i386/pmap.c: revision 1.13
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.8.2.3 -r1.8.2.4 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.