commit | 381ab99d858709eab34b65d123a6356b8b1e87bd | [log] [tgz] |
---|---|---|
author | Minwoo Im <minwoo.im@samsung.com> | Tue Apr 18 09:26:22 2023 +0900 |
committer | Klaus Jensen <k.jensen@samsung.com> | Wed Jun 28 11:13:42 2023 +0200 |
tree | 22f3ec1e41bfeef9b46e2a27f91a05608b3c1836 | |
parent | cab1da59c2ff3bf08d0a7becf9b51e43a724a85c [diff] |
hw/nvme: check maximum copy length (MCL) for COPY MCL(Maximum Copy Length) in the Identify Namespace data structure limits the number of LBAs to be copied inside of the controller. We've not checked it at all, so added the check with returning the proper error status. Signed-off-by: Minwoo Im <minwoo.im@samsung.com> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>