hw/nvme: fix lbaf formats initialization
Currently LBAF formats are being intialized based on metadata size if and only if nvme-ns "ms" parameter is non-zero value. Since FormatNVM command being supported device parameter "ms" may not be the criteria to initialize the supported LBAFs. And make LBAF array as read-only. Signed-off-by: NGollu Appalanaidu <anaidu.gollu@samsung.com> Reviewed-by: NKlaus Jensen <k.jensen@samsung.com> Signed-off-by: NKlaus Jensen <k.jensen@samsung.com>
Showing
想要评论请 注册 或 登录