aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/virtio/kvm_virtio.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2015-07-02 15:08:11 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-07-13 23:17:19 +0300
commitc9ce42f72fd0ba180fd35539829e4139dca31494 (patch)
treef92250cbd4a9760cb8b69cd349c5e4ee9033b0e8 /drivers/s390/virtio/kvm_virtio.c
parentvhost: extend memory regions allocation to vmalloc (diff)
downloadlinux-dev-c9ce42f72fd0ba180fd35539829e4139dca31494.tar.xz
linux-dev-c9ce42f72fd0ba180fd35539829e4139dca31494.zip
vhost: add max_mem_regions module parameter
it became possible to use a bigger amount of memory slots, which is used by memory hotplug for registering hotplugged memory. However QEMU crashes if it's used with more than ~60 pc-dimm devices and vhost-net enabled since host kernel in module vhost-net refuses to accept more than 64 memory regions. Allow to tweak limit via max_mem_regions module paramemter with default value set to 64 slots. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/s390/virtio/kvm_virtio.c')
0 files changed, 0 insertions, 0 deletions