KVM: Increase NR_IOBUS_DEVS limit to 200
authorSridhar Samudrala <sri@us.ibm.com>
Tue, 30 Mar 2010 23:48:25 +0000 (16:48 -0700)
committerAvi Kivity <avi@redhat.com>
Tue, 20 Apr 2010 10:08:30 +0000 (13:08 +0300)
commite80e2a60ff7914dae691345a976c80bbbff3ec74
treece9f6ce95d3b00f24a407982d52aca567866c0d8
parent87bf6e7de1134f48681fd2ce4b7c1ec45458cb6d
KVM: Increase NR_IOBUS_DEVS limit to 200

This patch increases the current hardcoded limit of NR_IOBUS_DEVS
from 6 to 200. We are hitting this limit when creating a guest with more
than 1 virtio-net device using vhost-net backend. Each virtio-net
device requires 2 such devices to service notifications from rx/tx queues.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h