nvme: properly report volatile write caches
commit30349fd038ffb26528fad21abe1e264031364449
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jun 2015 10:01:39 +0000 (11 12:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Jul 2015 13:55:19 +0000 (14 15:55 +0200)
tree57e83cba4162fb8878cbc7747998deeed1a60bdf
parent8b9d74e0eebb2106b767d66355d38086be72ad2b
nvme: properly report volatile write caches

Implement support in Identify and Get/Set Features to properly report
and allow to change the Volatile Write Cache status reported by the
virtual NVMe device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c