Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 04/27/2007 22:10:39
Module Name:	src
Committed By:	bouyer
Date:		Fri Apr 27 22:10:39 UTC 2007

Modified Files:
	src/sys/arch/xen/xen: privcmd.c

Log Message:
IOCTL_PRIVCMD_MMAPBATCH: mimic linux behavior and return no error
even if a pmap_enter_ma() (the underlying hypercall, really) returns one.
The fact that the mapping failed is notified to the called by oring
0xF0000000 to the mfn.  This makes Xen 3.0.4 HVM work.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/xen/xen/privcmd.c

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