KVM: Bump KVM_MAX_IRQ_ROUTES for s390
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 25 Feb 2014 11:48:01 +0000 (12:48 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 21 Mar 2014 12:43:13 +0000 (13:43 +0100)
commitf3f710bc64e121c10c67ce58c893d3bc8c72abe4
tree6246031ba4c999992750fadddc92fcb5408e593a
parent84223598778ba08041f4297fda485df83414d57e
KVM: Bump KVM_MAX_IRQ_ROUTES for s390

The maximum number for irq routes is currently 1024, which is a bit on
the small size for s390: We support up to 4 x 64k virtual devices with
up to 64 queues, and we need one route for each of the queues if we want
to operate it via irqfd.

Let's bump this to 4k on s390 for now, as this at least covers the saner
setups.

We need to find a more general solution, though, as we can't just grow
the routing table indefinitly.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
include/linux/kvm_host.h