summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorKenneth Heitke2019-05-20 19:40:30 +0200
committerKevin Wolf2019-06-04 15:22:09 +0200
commit3036a626e9efad8ee5dc178b149184cf87bd06b0 (patch)
tree0b251a0debdf8e663c6317ecf6fb12ab229570a4 /include/block
parentblock/linux-aio: Drop unused BlockAIOCB submission method (diff)
downloadqemu-3036a626e9efad8ee5dc178b149184cf87bd06b0.tar.gz
qemu-3036a626e9efad8ee5dc178b149184cf87bd06b0.tar.xz
qemu-3036a626e9efad8ee5dc178b149184cf87bd06b0.zip
nvme: add Get/Set Feature Timestamp support
Signed-off-by: Kenneth Heitke <kenneth.heitke@intel.com> Reviewed-by: Klaus Birkelund Jensen <klaus.jensen@cnexlabs.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/nvme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h
index 849a6f3fa3..3ec8efcc43 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -581,6 +581,7 @@ enum NvmeIdCtrlOncs {
NVME_ONCS_WRITE_ZEROS = 1 << 3,
NVME_ONCS_FEATURES = 1 << 4,
NVME_ONCS_RESRVATIONS = 1 << 5,
+ NVME_ONCS_TIMESTAMP = 1 << 6,
};
#define NVME_CTRL_SQES_MIN(sqes) ((sqes) & 0xf)
@@ -622,6 +623,7 @@ enum NvmeFeatureIds {
NVME_INTERRUPT_VECTOR_CONF = 0x9,
NVME_WRITE_ATOMICITY = 0xa,
NVME_ASYNCHRONOUS_EVENT_CONF = 0xb,
+ NVME_TIMESTAMP = 0xe,
NVME_SOFTWARE_PROGRESS_MARKER = 0x80
};