Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 09/05/2007 19:15:43
Module Name:	src
Committed By:	bouyer
Date:		Wed Sep  5 19:15:43 UTC 2007

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

Log Message:
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.2 src/sys/arch/xen/include/granttables.h
cvs rdiff -r1.3 -r1.4 src/sys/arch/xen/include/xen3-public/grant_table.h
cvs rdiff -r1.2 -r1.3 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.