Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 03/25/2006 17:20:32
Module Name:	src
Committed By:	bouyer
Date:		Sat Mar 25 17:20:32 UTC 2006

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

Log Message:
- Add a missing UVM_KMF_WIRED to uvm_km_alloc(), this would trigger an
 assertion in uvm
- xbd_open(): check that the device exists before calling dk_open(). Fix
 a null pointer dereference when trying to open a unconfigured xbd.
Should fix 2 issues reported by Stephane Bortzmeyer on port-xen.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/xen/xen/xbd_xenbus.c

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