summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2020-06-09 21:03:19 +0200
committerKevin Wolf <kwolf@redhat.com>2020-06-17 14:53:40 +0200
commitdce22c864612659793342bb99bd3d7a91f31afd6 (patch)
tree3c5f25a49e8c19d3daf2254679972c56d80d70a7 /scripts/qapi/source.py
parentca247d35098d396db25233d5f554bd3098949d60 (diff)
downloadfocaccia-qemu-dce22c864612659793342bb99bd3d7a91f31afd6.tar.gz
focaccia-qemu-dce22c864612659793342bb99bd3d7a91f31afd6.zip
hw/block/nvme: add max_ioqpairs device parameter
The num_queues device paramater has a slightly confusing meaning because
it accounts for the admin queue pair which is not really optional.
Secondly, it is really a maximum value of queues allowed.

Add a new max_ioqpairs parameter that only accounts for I/O queue pairs,
but keep num_queues for compatibility.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Message-Id: <20200609190333.59390-9-its@irrelevant.dk>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions