diff options
author | Ouyang Changchun <changchun.ouyang@intel.com> | 2015-05-28 09:23:06 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-01 14:18:55 +0200 |
commit | 830d70db692e374b55555f4407f96a1ceefdcc97 (patch) | |
tree | 3b10c88b7e16ff9db59d3eb253d0a2d6b7819aac /qapi-schema.json | |
parent | 019a3edbb25f1571e876f8af1ce4c55412939e5d (diff) | |
download | qemu-830d70db692e374b55555f4407f96a1ceefdcc97.tar.gz qemu-830d70db692e374b55555f4407f96a1ceefdcc97.tar.bz2 qemu-830d70db692e374b55555f4407f96a1ceefdcc97.zip |
vhost-user: add multi queue support
Based on patch by Nikolay Nikolaev:
Vhost-user will implement the multi queue support in a similar way
to what vhost already has - a separate thread for each queue.
To enable the multi queue functionality - a new command line parameter
"queues" is introduced for the vhost-user netdev.
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 25df463863..0662a9b445 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2444,12 +2444,16 @@ # # @vhostforce: #optional vhost on for non-MSIX virtio guests (default: false). # +# @queues: #optional number of queues to be created for multiqueue vhost-user +# (default: 1) (Since 2.4) +# # Since 2.1 ## { 'struct': 'NetdevVhostUserOptions', 'data': { 'chardev': 'str', - '*vhostforce': 'bool' } } + '*vhostforce': 'bool', + '*queues': 'uint32' } } ## # @NetClientOptions |