Add xbd at xenbus, and limit MAXPHYS to 32k. The Xen vbd interface doesn't

handle 64k transfers (it's limited to 11 * PAGE_SIZE), and splitting requests
in xbd make things much more complex than needed.
This commit is contained in:
bouyer 2006-03-19 00:39:36 +00:00
parent 0e8c6c24b2
commit 22b8bc3c2f

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_U,v 1.1 2006/03/06 22:28:44 bouyer Exp $
# $NetBSD: XEN3_U,v 1.2 2006/03/19 00:39:36 bouyer Exp $
include "arch/xen/conf/std.xen"
@ -13,6 +13,8 @@ maxusers 32 # estimated number of users
#
options XEN
options XEN3
options MAXPHYS=32768 #xbd doesn't handle 64k transfers
#options DOM0OPS
options I686_CPU
@ -178,9 +180,9 @@ npx0 at hypervisor? # x86 math coprocessor
xencons* at hypervisor? # Xen virtual console
xenbus* at hypervisor? # Xen virtual bus
xennet* at xenbus? # Xen virtual network interface
#xbd* at hypervisor? # Xen virtual block device
xennet* at xenbus? # Xen virtual network interface
xbd* at xenbus? # Xen virtual block device
include "arch/i386/conf/GENERIC.local"