Subject: CVS commit: [netbsd-4] src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 09/11/2007 08:38:50
Module Name:	src
Committed By:	xtraeme
Date:		Tue Sep 11 08:38:50 UTC 2007

Modified Files:
	src/sys/arch/xen/include [netbsd-4]: granttables.h
	src/sys/arch/xen/include/xen3-public [netbsd-4]: grant_table.h
	src/sys/arch/xen/xen [netbsd-4]: xengnt.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #875):
	sys/arch/xen/include/granttables.h: revision 1.2
	sys/arch/xen/include/xen3-public/grant_table.h: revision 1.4
	sys/arch/xen/xen/xengnt.c: revision 1.3
Switch to dynamically-sized grant tables, available since Xen-3.1.0.
This removes a hard limit that would prevent a guest from running with more
than 7 virtual network interface.
If running on a hypervisor that doesn't support GNTTABOP_query_size, fall back
to a 4-pages grant table, so this change is backward-compatible.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.1.26.1 src/sys/arch/xen/include/granttables.h
cvs rdiff -r1.3 -r1.3.14.1 src/sys/arch/xen/include/xen3-public/grant_table.h
cvs rdiff -r1.2 -r1.2.20.1 src/sys/arch/xen/xen/xengnt.c

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