]> www.infradead.org Git - users/dwmw2/qemu.git/commit
nvme: Add support for Read Data and Write Data in CMBs.
authorStephen Bates <sbates@raithlin.com>
Tue, 13 Jun 2017 10:08:35 +0000 (04:08 -0600)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jun 2017 12:51:13 +0000 (14:51 +0200)
commitb2b2b67a0057407e19cfa3fdd9002db21ced8b01
tree877591e94067e0d8b444738be206fa70ee62078d
parentea4f3cebc4e0224605ab9dd9724aa4e7768fe372
nvme: Add support for Read Data and Write Data in CMBs.

Add the ability for the NVMe model to support both the RDS and WDS
modes in the Controller Memory Buffer.

Although not currently supported in the upstreamed Linux kernel a fork
with support exists [1] and user-space test programs that build on
this also exist [2].

Useful for testing CMB functionality in preperation for real CMB
enabled NVMe devices (coming soon).

[1] https://github.com/sbates130272/linux-p2pmem
[2] https://github.com/sbates130272/p2pmem-test

Signed-off-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c
hw/block/nvme.h