Minwoo Im 6a674bc295 hw/block/nvme: support multiple lba formats
This patch introduces multiple LBA formats supported with the typical
logical block sizes of 512 bytes and 4096 bytes as well as metadata
sizes of 0, 8, 16 and 64 bytes. The format will be chosed based on the
lbads and ms parameters of the nvme-ns device.

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
[k.jensen: resurrected and rebased]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
2021-03-18 12:34:52 +01:00
..
2021-03-15 21:02:03 +01:00
2021-03-16 10:53:47 +00:00
2021-03-14 13:18:49 +00:00
2021-03-15 21:02:20 +01:00
2021-03-15 21:03:06 +01:00
2021-03-18 10:05:37 +00:00
2021-03-16 14:30:30 -04:00
2021-03-15 17:01:17 +01:00