summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/xen-9p-backend.c
diff options
context:
space:
mode:
authorStefano Stabellini2020-05-21 21:26:27 +0200
committerGreg Kurz2020-05-25 11:45:40 +0200
commit84af75577cceb195b044e2d5ba6d940206b169ca (patch)
tree1ced21aefb25b70641766fe857ea749c33ae6c54 /hw/9pfs/xen-9p-backend.c
parentxen/9pfs: yield when there isn't enough room on the ring (diff)
downloadqemu-84af75577cceb195b044e2d5ba6d940206b169ca.tar.gz
qemu-84af75577cceb195b044e2d5ba6d940206b169ca.tar.xz
qemu-84af75577cceb195b044e2d5ba6d940206b169ca.zip
xen/9pfs: increase max ring order to 9
The max order allowed by the protocol is 9. Increase the max order supported by QEMU to 9 to increase performance. Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com> Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Message-Id: <20200521192627.15259-3-sstabellini@kernel.org> Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs/xen-9p-backend.c')
-rw-r--r--hw/9pfs/xen-9p-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/xen-9p-backend.c b/hw/9pfs/xen-9p-backend.c
index 3c84c86ab8..a969fcc54c 100644
--- a/hw/9pfs/xen-9p-backend.c
+++ b/hw/9pfs/xen-9p-backend.c
@@ -21,7 +21,7 @@
#define VERSIONS "1"
#define MAX_RINGS 8
-#define MAX_RING_ORDER 8
+#define MAX_RING_ORDER 9
typedef struct Xen9pfsRing {
struct Xen9pfsDev *priv;