aboutsummaryrefslogtreecommitdiff
path: root/tests/test-qobject-output-visitor.c
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2020-06-09 21:03:32 +0200
committerKevin Wolf <kwolf@redhat.com>2020-06-17 14:53:40 +0200
commit6a25a4b42e24df515e0e9a6b65683e500c66de73 (patch)
tree3eb51f0adfc56c593398b97512a9e3b583a4dec9 /tests/test-qobject-output-visitor.c
parentfbf2e5375e33d43c9e1386eed448e1a3c0996e88 (diff)
downloadqemu-6a25a4b42e24df515e0e9a6b65683e500c66de73.zip
qemu-6a25a4b42e24df515e0e9a6b65683e500c66de73.tar.gz
qemu-6a25a4b42e24df515e0e9a6b65683e500c66de73.tar.bz2
hw/block/nvme: add msix_qsize parameter
Decouple the requested maximum number of ioqpairs (param max_ioqpairs) from the number of MSI-X interrupt vectors by introducing a new msix_qsize parameter and initialize MSI-X with that. This allows emulating a device that has fewer vectors than I/O queue pairs and also allows more than 2048 queue pairs. To keep the device behaving as previously, use a msix_qsize default of 65 (default max_ioqpairs + 1). This decoupling was actually suggested by Maxim some time ago in a slightly different context, so adding a Suggested-by. Suggested-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Message-Id: <20200609190333.59390-22-its@irrelevant.dk> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions