aboutsummaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2020-09-30 10:58:03 -0700
committerKlaus Jensen <k.jensen@samsung.com>2020-10-27 11:29:25 +0100
commit8c5cea85934eb7b580ced14f7f188e19880d4c1c (patch)
tree3cb2e1fabfa9727da3b5e013f9e99a9d1b01db7c /include/block
parent492f9a8d79f2e815007e985cad8dd73b713722f0 (diff)
downloadqemu-8c5cea85934eb7b580ced14f7f188e19880d4c1c.zip
qemu-8c5cea85934eb7b580ced14f7f188e19880d4c1c.tar.gz
qemu-8c5cea85934eb7b580ced14f7f188e19880d4c1c.tar.bz2
hw/block/nvme: support for admin-only command set
Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/nvme.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h
index bc20a2b..521533f 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -83,7 +83,8 @@ enum NvmeCapMask {
<< CAP_PMR_SHIFT)
enum NvmeCapCss {
- NVME_CAP_CSS_NVM = 1 << 0,
+ NVME_CAP_CSS_NVM = 1 << 0,
+ NVME_CAP_CSS_ADMIN_ONLY = 1 << 7,
};
enum NvmeCcShift {