[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/1] hw/block/nvme: fix assert on invalid irq vector
From: |
Klaus Jensen |
Subject: |
[PATCH 0/1] hw/block/nvme: fix assert on invalid irq vector |
Date: |
Tue, 9 Jun 2020 11:45:06 +0200 |
From: Klaus Jensen <k.jensen@samsung.com>
I goofed up with commit c09794fe40e3 ("hw/block/nvme: allow use of any
valid msix vector").
This fixes the goof by adding a new msix_qsize parameter. As a nice
side-effect this allows a device with less interrupt vectors available
than supported queues. Also, improve the error handling in
nvme_init_pci().
Kevin, please consider picking this up for the block branch when
reviewed.
Cc: qemu-devel@nongnu.org
Cc: Keith Busch <kbusch@kernel.org>
Cc: Max Reitz <mreitz@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Klaus Jensen <its@irrelevant.dk>
Cc: Javier Gonzalez <javier.gonz@samsung.com>
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Klaus Jensen (2):
hw/block/nvme: add msix_qsize parameter
hw/block/nvme: verify msix_init_exclusive_bar() return value
hw/block/nvme.c | 28 ++++++++++++++++++++++------
hw/block/nvme.h | 1 +
2 files changed, 23 insertions(+), 6 deletions(-)
--
2.27.0
- [PATCH 0/1] hw/block/nvme: fix assert on invalid irq vector,
Klaus Jensen <=