diff options
author | Kenneth Heitke <kenneth.heitke@intel.com> | 2019-05-20 11:40:30 -0600 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-06-04 15:22:09 +0200 |
commit | 3036a626e9efad8ee5dc178b149184cf87bd06b0 (patch) | |
tree | 0b251a0debdf8e663c6317ecf6fb12ab229570a4 /hw/block/nvme.h | |
parent | 2b02fd81ded2f8fefbdacee431fc9fb006f92bc6 (diff) | |
download | qemu-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.h | 2 |
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; |