summaryrefslogtreecommitdiffstats
path: root/include/block/nvme.h
diff options
context:
space:
mode:
authorKlaus Jensen2020-10-23 08:07:50 +0200
committerKlaus Jensen2021-02-08 18:55:48 +0100
commit6fd704a59af99056ee6ed1284784b092725a9416 (patch)
tree37b355673c91ff3423d03ca5134f931d4fe71b62 /include/block/nvme.h
parenthw/block/nvme: add dulbe support (diff)
downloadqemu-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.h7
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];