[PATCH v2 0/3] iothread and irqfd support

Jinhao Fan posted 3 patches 3 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220826151206.3148942-1-fanjinhao21s@ict.ac.cn
Maintainers: Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>
hw/nvme/ctrl.c       | 328 +++++++++++++++++++++++++++++++++++++++----
hw/nvme/ns.c         |  21 ++-
hw/nvme/nvme.h       |  12 +-
hw/nvme/trace-events |   3 +
4 files changed, 335 insertions(+), 29 deletions(-)
[PATCH v2 0/3] iothread and irqfd support
Posted by Jinhao Fan 3 years, 5 months ago
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.

Changes since v1:
 - Avoid duplicate initilization of cq timer

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       | 328 +++++++++++++++++++++++++++++++++++++++----
 hw/nvme/ns.c         |  21 ++-
 hw/nvme/nvme.h       |  12 +-
 hw/nvme/trace-events |   3 +
 4 files changed, 335 insertions(+), 29 deletions(-)

-- 
2.25.1