From: Klaus Jensen <k.jen...@samsung.com> Philippe suggested that I split up this already way too huge series (more than 50 patches now), so here goes.
The first patch in this series fixes a small bug in the pci doorbell size calculation. Please consider cherry-picking this. The rest are refactorings. The "nvme: add max_ioqpairs device parameter" introduces the 'max_ioqpairs' device parameter, the meaning of which should be more intuitive than the existing 'num_queues' parameter. Klaus Jensen (16): nvme: fix pci doorbell size calculation nvme: rename trace events to nvme_dev nvme: remove superfluous breaks nvme: move device parameters to separate struct nvme: use constants in identify nvme: refactor nvme_addr_read nvme: add max_ioqpairs device parameter nvme: remove redundant cmbloc/cmbsz members nvme: factor out property/constraint checks nvme: factor out device state setup nvme: factor out block backend setup nvme: add namespace helpers nvme: factor out namespace setup nvme: factor out pci setup nvme: factor out cmb setup nvme: factor out controller identify setup hw/block/nvme.c | 436 ++++++++++++++++++++++++------------------ hw/block/nvme.h | 36 +++- hw/block/trace-events | 172 ++++++++--------- include/block/nvme.h | 8 + 4 files changed, 373 insertions(+), 279 deletions(-) -- 2.26.0