Re: [PATCH] hw/nvme: fix invalid check on mcl

2024-02-08 Thread Klaus Jensen
On Feb 8 21:33, Minwoo Im wrote: > On 24-02-08 13:22:48, Klaus Jensen wrote: > > From: Klaus Jensen > > > > The number of logical blocks within a source range is converted into a > > 1s based number at the time of parsing. However, when verifying the copy > > length we add one again, causing the

Re: [PATCH] hw/nvme: fix invalid check on mcl

2024-02-08 Thread Minwoo Im
On 24-02-08 13:22:48, Klaus Jensen wrote: > From: Klaus Jensen > > The number of logical blocks within a source range is converted into a > 1s based number at the time of parsing. However, when verifying the copy > length we add one again, causing the check against MCL to fail in error. > > Fixe

[PATCH] hw/nvme: fix invalid check on mcl

2024-02-08 Thread Klaus Jensen
From: Klaus Jensen The number of logical blocks within a source range is converted into a 1s based number at the time of parsing. However, when verifying the copy length we add one again, causing the check against MCL to fail in error. Fixes: 381ab99d8587 ("hw/nvme: check maximum copy length (MC