xemu/hw/nvme
Gollu Appalanaidu 421a309271 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: Gollu Appalanaidu <anaidu.gollu@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2021-06-29 07:16:25 +02:00
..
Kconfig hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
ctrl.c hw/nvme: fix style 2021-06-29 07:16:25 +02:00
dif.c hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
meson.build hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
ns.c hw/nvme: fix lbaf formats initialization 2021-06-29 07:16:25 +02:00
nvme.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
subsys.c hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
trace-events hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
trace.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00