]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: increase amount of virtio-9p FIDs
authorSasha Levin <levinsasha928@gmail.com>
Wed, 9 May 2012 12:24:48 +0000 (14:24 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 9 May 2012 12:26:36 +0000 (15:26 +0300)
Increase the amount of FIDs since we easily reach current amount with
simple stress tests.

This should be changed to use a rbtree or something faster in the
future.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/virtio-9p.h

index cd2869a9d92b9c4ade7dd2ea6ad1419854663a98..590270160f6beee6d137533c02de33ace0ad30cd 100644 (file)
@@ -12,7 +12,7 @@
 #define VIRTQUEUE_NUM          128
 #define        VIRTIO_9P_DEFAULT_TAG   "kvm_9p"
 #define VIRTIO_9P_HDR_LEN      (sizeof(u32)+sizeof(u8)+sizeof(u16))
-#define VIRTIO_9P_MAX_FID      256
+#define VIRTIO_9P_MAX_FID      16384
 #define VIRTIO_9P_VERSION_DOTL "9P2000.L"
 #define MAX_TAG_LEN            32