diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-03-23 15:10:54 +0100 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-04-06 20:44:56 +0200 |
commit | 349bf41d592cf59e0438ad79e247395b1af04c4f (patch) | |
tree | 51621cbc310e24c4c16c1da4ee424f54b1c187bd /hw/block | |
parent | 5ad7d0174e8e5f3e5af27719d4fc5f6a93efa1f2 (diff) | |
download | qemu-349bf41d592cf59e0438ad79e247395b1af04c4f.zip qemu-349bf41d592cf59e0438ad79e247395b1af04c4f.tar.gz qemu-349bf41d592cf59e0438ad79e247395b1af04c4f.tar.bz2 |
hw/block/nvme: fix missing string representation for ns attachment
Add the missing nvme_adm_opc_str entry for the Namespace Attachment
command.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'hw/block')
-rw-r--r-- | hw/block/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h index 5b0031b..9edc86d 100644 --- a/hw/block/nvme.h +++ b/hw/block/nvme.h @@ -86,6 +86,7 @@ static inline const char *nvme_adm_opc_str(uint8_t opc) case NVME_ADM_CMD_SET_FEATURES: return "NVME_ADM_CMD_SET_FEATURES"; case NVME_ADM_CMD_GET_FEATURES: return "NVME_ADM_CMD_GET_FEATURES"; case NVME_ADM_CMD_ASYNC_EV_REQ: return "NVME_ADM_CMD_ASYNC_EV_REQ"; + case NVME_ADM_CMD_NS_ATTACHMENT: return "NVME_ADM_CMD_NS_ATTACHMENT"; case NVME_ADM_CMD_FORMAT_NVM: return "NVME_ADM_CMD_FORMAT_NVM"; default: return "NVME_ADM_CMD_UNKNOWN"; } |