hw/nvme: fix verification of select field in namespace attachment
commit07a3dfa7c41a94788881b649518507610c727994
authorNaveen Nagar <naveen.n1@samsung.com>
Mon, 23 Aug 2021 11:03:33 +0000 (23 16:33 +0530)
committerKlaus Jensen <k.jensen@samsung.com>
Fri, 24 Sep 2021 06:43:52 +0000 (24 08:43 +0200)
treedfee610eb20abe5412235a6e953cec4a5f8ef47e
parentfd761337aca5b55c133c3bec1b8bd4471cb9571a
hw/nvme: fix verification of select field in namespace attachment

Fix is added to check for reserved value in select field for
namespace attachment

CC: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Naveen Nagar <naveen.n1@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/nvme/ctrl.c
include/block/nvme.h