Re: [PATCH] hw/block/nvme: Correct error status for unaligned ZA

2021-01-17 Thread Klaus Jensen
On Jan 18 12:39, Dmitry Fomichev wrote: > TP 4053 says (in section 2.3.1.1) - > ... if a Zone Append command specifies a ZSLBA that is not the lowest > logical block address in that zone, then the controller shall abort > that command with a status code of Invalid Field In Command. > > In the

[PATCH] hw/block/nvme: Correct error status for unaligned ZA

2021-01-17 Thread Dmitry Fomichev
TP 4053 says (in section 2.3.1.1) - ... if a Zone Append command specifies a ZSLBA that is not the lowest logical block address in that zone, then the controller shall abort that command with a status code of Invalid Field In Command. In the code, Zone Invalid Write is returned instead, fix this.