RE: [PATCH] hw/block/nvme: fix Close Zone

2021-02-09 Thread Dmitry Fomichev
> -Original Message- > From: Klaus Jensen > Sent: Monday, February 8, 2021 12:54 PM > To: Philippe Mathieu-Daudé > Cc: Keith Busch ; Dmitry Fomichev > ; Kevin Wolf ; Max Reitz > ; qemu-devel@nongnu.org; Niklas Cassel > > Subject: Re: [PATCH] hw/block/nvme: fi

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Klaus Jensen
On Feb 8 17:19, Philippe Mathieu-Daudé wrote: > Hi Keith, > > On 2/8/21 4:54 PM, Keith Busch wrote: > > On Mon, Feb 08, 2021 at 10:20:51AM +0100, Klaus Jensen wrote: > >> On Feb 8 10:03, Philippe Mathieu-Daudé wrote: > >>> Hi Dmitry, Klaus. > >>> > >>> On 2/8/21 1:32 AM, Dmitry Fomichev wrote: >

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Keith Busch
On Mon, Feb 08, 2021 at 10:20:51AM +0100, Klaus Jensen wrote: > On Feb 8 10:03, Philippe Mathieu-Daudé wrote: > > Hi Dmitry, Klaus. > > > > On 2/8/21 1:32 AM, Dmitry Fomichev wrote: > > > Implicitly and Explicitly Open zones can be closed by Close Zone > > > management function. This got broken b

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Philippe Mathieu-Daudé
Hi Keith, On 2/8/21 4:54 PM, Keith Busch wrote: > On Mon, Feb 08, 2021 at 10:20:51AM +0100, Klaus Jensen wrote: >> On Feb 8 10:03, Philippe Mathieu-Daudé wrote: >>> Hi Dmitry, Klaus. >>> >>> On 2/8/21 1:32 AM, Dmitry Fomichev wrote: Implicitly and Explicitly Open zones can be closed by Close

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Klaus Jensen
On Feb 8 10:03, Philippe Mathieu-Daudé wrote: > Hi Dmitry, Klaus. > > On 2/8/21 1:32 AM, Dmitry Fomichev wrote: > > Implicitly and Explicitly Open zones can be closed by Close Zone > > management function. This got broken by a recent commit and now such > > commands fail with Invalid Zone State T

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Klaus Jensen
On Feb 8 10:03, Philippe Mathieu-Daudé wrote: > Hi Dmitry, Klaus. > > On 2/8/21 1:32 AM, Dmitry Fomichev wrote: > > Implicitly and Explicitly Open zones can be closed by Close Zone > > management function. This got broken by a recent commit and now such > > commands fail with Invalid Zone State T

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Philippe Mathieu-Daudé
Hi Dmitry, Klaus. On 2/8/21 1:32 AM, Dmitry Fomichev wrote: > Implicitly and Explicitly Open zones can be closed by Close Zone > management function. This got broken by a recent commit and now such > commands fail with Invalid Zone State Transition status. > > Modify nvm_zrm_close() function to m

Re: [PATCH] hw/block/nvme: fix Close Zone

2021-02-08 Thread Klaus Jensen
On Feb 8 09:32, Dmitry Fomichev wrote: > Implicitly and Explicitly Open zones can be closed by Close Zone > management function. This got broken by a recent commit and now such > commands fail with Invalid Zone State Transition status. > > Modify nvm_zrm_close() function to make Close Zone work c

[PATCH] hw/block/nvme: fix Close Zone

2021-02-07 Thread Dmitry Fomichev
Implicitly and Explicitly Open zones can be closed by Close Zone management function. This got broken by a recent commit and now such commands fail with Invalid Zone State Transition status. Modify nvm_zrm_close() function to make Close Zone work correctly. Signed-off-by: Dmitry Fomichev Fixes: