Re: [PATCH v8 07/11] hw/block/nvme: Support Zoned Namespace Command Set

2020-11-03 Thread Klaus Jensen
On Nov 3 21:37, Philippe Mathieu-Daudé wrote: > On 11/3/20 8:48 PM, Dmitry Fomichev wrote: > >> -Original Message- > >> From: Philippe Mathieu-Daudé > ... > >>> typedef struct QEMU_PACKED NvmeCqe { > >>> -uint32_tresult; > >>> -uint32_trsvd; > >>> +union { > >>> +

Re: [PATCH v8 07/11] hw/block/nvme: Support Zoned Namespace Command Set

2020-11-03 Thread Philippe Mathieu-Daudé
On 11/3/20 8:48 PM, Dmitry Fomichev wrote: >> -Original Message- >> From: Philippe Mathieu-Daudé ... >>> typedef struct QEMU_PACKED NvmeCqe { >>> -uint32_tresult; >>> -uint32_trsvd; >>> +union { >>> +uint64_t result64; >>> +uint32_t result32;

RE: [PATCH v8 07/11] hw/block/nvme: Support Zoned Namespace Command Set

2020-11-03 Thread Dmitry Fomichev
t; Damien Le Moal ; qemu-block@nongnu.org; > qemu-de...@nongnu.org > Subject: Re: [PATCH v8 07/11] hw/block/nvme: Support Zoned Namespace > Command Set > > Hi Dmitry, > > On 10/30/20 3:32 AM, Dmitry Fomichev wrote: > > The emulation code has been changed to advertise NVM

Re: [PATCH v8 07/11] hw/block/nvme: Support Zoned Namespace Command Set

2020-10-30 Thread Niklas Cassel
On Fri, Oct 30, 2020 at 11:32:38AM +0900, Dmitry Fomichev wrote: > The emulation code has been changed to advertise NVM Command Set when > "zoned" device property is not set (default) and Zoned Namespace > Command Set otherwise. > > Define values and structures that are needed to support Zoned >

Re: [PATCH v8 07/11] hw/block/nvme: Support Zoned Namespace Command Set

2020-10-30 Thread Philippe Mathieu-Daudé
Hi Dmitry, On 10/30/20 3:32 AM, Dmitry Fomichev wrote: > The emulation code has been changed to advertise NVM Command Set when > "zoned" device property is not set (default) and Zoned Namespace > Command Set otherwise. > > Define values and structures that are needed to support Zoned > Namespace