diff options
author | Klaus Jensen | 2020-10-23 08:07:50 +0200 |
---|---|---|
committer | Klaus Jensen | 2021-02-08 18:55:48 +0100 |
commit | 6fd704a59af99056ee6ed1284784b092725a9416 (patch) | |
tree | 37b355673c91ff3423d03ca5134f931d4fe71b62 /include/block/nvme.h | |
parent | hw/block/nvme: add dulbe support (diff) | |
download | qemu-6fd704a59af99056ee6ed1284784b092725a9416.tar.gz qemu-6fd704a59af99056ee6ed1284784b092725a9416.tar.xz qemu-6fd704a59af99056ee6ed1284784b092725a9416.zip |
nvme: add namespace I/O optimization fields to shared header
This adds the NPWG, NPWA, NPDG, NPDA and NOWS family of fields to the
shared nvme.h header for use by later patches.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Fam Zheng <fam@euphon.net>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Diffstat (limited to 'include/block/nvme.h')
-rw-r--r-- | include/block/nvme.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h index b663d11e60..11ac1c2b7d 100644 --- a/include/block/nvme.h +++ b/include/block/nvme.h @@ -996,7 +996,12 @@ typedef struct QEMU_PACKED NvmeIdNs { uint16_t nabspf; uint16_t noiob; uint8_t nvmcap[16]; - uint8_t rsvd64[40]; + uint16_t npwg; + uint16_t npwa; + uint16_t npdg; + uint16_t npda; + uint16_t nows; + uint8_t rsvd74[30]; uint8_t nguid[16]; uint64_t eui64; NvmeLBAF lbaf[16]; |