aboutsummaryrefslogtreecommitdiff
path: root/hw/block/nvme.h
diff options
context:
space:
mode:
authorKenneth Heitke <kenneth.heitke@intel.com>2019-05-20 11:40:30 -0600
committerKevin Wolf <kwolf@redhat.com>2019-06-04 15:22:09 +0200
commit3036a626e9efad8ee5dc178b149184cf87bd06b0 (patch)
tree0b251a0debdf8e663c6317ecf6fb12ab229570a4 /hw/block/nvme.h
parent2b02fd81ded2f8fefbdacee431fc9fb006f92bc6 (diff)
downloadqemu-3036a626e9efad8ee5dc178b149184cf87bd06b0.zip
qemu-3036a626e9efad8ee5dc178b149184cf87bd06b0.tar.gz
qemu-3036a626e9efad8ee5dc178b149184cf87bd06b0.tar.bz2
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 'hw/block/nvme.h')
-rw-r--r--hw/block/nvme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h
index 56c9d4b..557194e 100644
--- a/hw/block/nvme.h
+++ b/hw/block/nvme.h
@@ -79,6 +79,8 @@ typedef struct NvmeCtrl {
uint32_t cmbloc;
uint8_t *cmbuf;
uint64_t irq_status;
+ uint64_t host_timestamp; /* Timestamp sent by the host */
+ uint64_t timestamp_set_qemu_clock_ms; /* QEMU clock time */
char *serial;
NvmeNamespace *namespaces;