This patch series adds support for using a seperate iothread for NVMe IO emulation, which brings the potential of applying polling. The first two patches implements support for irqfd, which solves thread safety problems for interrupt emulation outside the main loop thread.
Jinhao Fan (3): hw/nvme: support irq(de)assertion with eventfd hw/nvme: use KVM irqfd when available hw/nvme: add iothread support hw/nvme/ctrl.c | 335 +++++++++++++++++++++++++++++++++++++++---- hw/nvme/ns.c | 21 ++- hw/nvme/nvme.h | 12 +- hw/nvme/trace-events | 3 + 4 files changed, 342 insertions(+), 29 deletions(-) -- 2.25.1