From cdb90a0ce472a643080d9217003864fe35987a0e Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Wed, 9 May 2012 14:24:48 +0200 Subject: [PATCH] kvm tools: increase amount of virtio-9p FIDs 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 Signed-off-by: Pekka Enberg --- tools/kvm/include/kvm/virtio-9p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/include/kvm/virtio-9p.h b/tools/kvm/include/kvm/virtio-9p.h index cd2869a9d92b..590270160f6b 100644 --- a/tools/kvm/include/kvm/virtio-9p.h +++ b/tools/kvm/include/kvm/virtio-9p.h @@ -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 -- 2.39.5