qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe device
@ 2017-02-23  9:18 Fam Zheng
  2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 1/6] nvme: Move NVMe definitions to a separate header Fam Zheng
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Fam Zheng @ 2017-02-23  9:18 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Karl Rister, Stefan Hajnoczi, Max Reitz,
	qemu-block

This is a refresh of the NVMe VFIO driver patches.

The first three patches add the driver, the others are to make qemu-img more
efficient with the new driver.

v2:
    - Implement "split vfio addr space" appraoch. [Paolo]
    - Add back 'device reset' in nvme_close(). [Paolo]
    - Better variable namings. [Stefan]
    - "Reuse" macro definitions from NVMe emulation code.
    - Rebase onto current master which has polling by default and update
      performance results accordingly.
    - Update MAINTAINERS.
    - Specify namespace in URI.
    - The sporadical I/O error from v1 "disappeared" in this version.
    - Tests one: qemu-img bench, fio, bonnie++ and installation of
      ubuntu/fedora/rhel on QEMU emulated nvme and a Intel P3700 card.

Fam Zheng (6):
  nvme: Move NVMe definitions to a separate header
  stubs: Add stubs for ram block notifier API
  block: Add VFIO based NVMe driver
  block: Introduce bdrv_dma_map and bdrv_dma_unmap
  block/nvme: Implement .bdrv_dma_map and .bdrv_dma_unmap
  qemu-img: dma map buffers

 MAINTAINERS                    |    6 +
 block/Makefile.objs            |    1 +
 block/block-backend.c          |   10 +
 block/io.c                     |   24 +
 block/nvme-vfio.c              |  664 +++++++++++++++++++++++++
 block/nvme-vfio.h              |   31 ++
 block/nvme.c                   | 1073 ++++++++++++++++++++++++++++++++++++++++
 block/trace-events             |   27 +
 hw/block/nvme.h                |  629 +----------------------
 include/block/block.h          |    2 +
 include/block/block_int.h      |    4 +
 include/block/nvme.h           |  632 +++++++++++++++++++++++
 include/sysemu/block-backend.h |    3 +
 qemu-img.c                     |   15 +
 stubs/Makefile.objs            |    1 +
 stubs/ram-block-notifier.c     |   10 +
 16 files changed, 2504 insertions(+), 628 deletions(-)
 create mode 100644 block/nvme-vfio.c
 create mode 100644 block/nvme-vfio.h
 create mode 100644 block/nvme.c
 create mode 100644 include/block/nvme.h
 create mode 100644 stubs/ram-block-notifier.c

-- 
2.9.3

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-02-23 11:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23  9:18 [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe device Fam Zheng
2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 1/6] nvme: Move NVMe definitions to a separate header Fam Zheng
2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 2/6] stubs: Add stubs for ram block notifier API Fam Zheng
2017-02-23  9:49   ` Paolo Bonzini
2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 3/6] block: Add VFIO based NVMe driver Fam Zheng
2017-02-23  9:43   ` Paolo Bonzini
2017-02-23 10:01     ` Fam Zheng
2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 4/6] block: Introduce bdrv_dma_map and bdrv_dma_unmap Fam Zheng
2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 5/6] block/nvme: Implement .bdrv_dma_map and .bdrv_dma_unmap Fam Zheng
2017-02-23  9:18 ` [Qemu-devel] [PATCH v2 6/6] qemu-img: dma map buffers Fam Zheng
2017-02-23  9:28 ` [Qemu-devel] [PATCH v2 0/6] block: Add VFIO based driver for NVMe device no-reply
2017-02-23 10:48 ` Fam Zheng
2017-02-23 10:50   ` Paolo Bonzini
2017-02-23 11:19     ` Fam Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).