Re: [PATCH v7 3/4] qcow2: add zoned emulation capability

2024-09-23 Thread Sam Li
On Mon, Sep 23, 2024 at 15:48 Damien Le Moal wrote: > On 2024/09/23 15:40, Sam Li wrote: > > Hi Damien, > > > > Damien Le Moal 于2024年9月23日周一 15:22写道: > >> > >> On 2024/09/23 13:06, Sam Li wrote: > >> > >> [...] > >> > > @@ -2837,6 +3180,19 @@ qcow2_co_pwritev_part(BlockDriverState *bs, > int

Re: [PATCH v7 3/4] qcow2: add zoned emulation capability

2024-09-23 Thread Damien Le Moal
On 2024/09/23 15:40, Sam Li wrote: > Hi Damien, > > Damien Le Moal 于2024年9月23日周一 15:22写道: >> >> On 2024/09/23 13:06, Sam Li wrote: >> >> [...] >> > @@ -2837,6 +3180,19 @@ qcow2_co_pwritev_part(BlockDriverState *bs, > int64_t offset, int64_t bytes, > qiov_offset += cur_bytes;

Re: [PATCH v7 3/4] qcow2: add zoned emulation capability

2024-09-23 Thread Sam Li
Hi Damien, Damien Le Moal 于2024年9月23日周一 15:22写道: > > On 2024/09/23 13:06, Sam Li wrote: > > [...] > > >>> @@ -2837,6 +3180,19 @@ qcow2_co_pwritev_part(BlockDriverState *bs, > >>> int64_t offset, int64_t bytes, > >>> qiov_offset += cur_bytes; > >>> trace_qcow2_writev_done_part(q

Re: [PATCH v7 3/4] qcow2: add zoned emulation capability

2024-09-23 Thread Damien Le Moal
On 2024/09/23 13:06, Sam Li wrote: [...] >>> @@ -2837,6 +3180,19 @@ qcow2_co_pwritev_part(BlockDriverState *bs, int64_t >>> offset, int64_t bytes, >>> qiov_offset += cur_bytes; >>> trace_qcow2_writev_done_part(qemu_coroutine_self(), cur_bytes); >>> } >>> + >>> +if (bs-

Re: [PATCH v7 3/4] qcow2: add zoned emulation capability

2024-09-23 Thread Sam Li
Hi Stefan, I apologized for the late reply. Stefan Hajnoczi 于2024年3月12日周二 20:02写道: > > On Mon, Jan 22, 2024 at 07:48:29PM +0100, Sam Li wrote: > > By adding zone operations and zoned metadata, the zoned emulation > > capability enables full emulation support of zoned device using > > a qcow2 fil

Re: [PATCH v7 3/4] qcow2: add zoned emulation capability

2024-03-12 Thread Stefan Hajnoczi
On Mon, Jan 22, 2024 at 07:48:29PM +0100, Sam Li wrote: > By adding zone operations and zoned metadata, the zoned emulation > capability enables full emulation support of zoned device using > a qcow2 file. The zoned device metadata includes zone type, > zoned device state and write pointer of each

[PATCH v7 3/4] qcow2: add zoned emulation capability

2024-01-22 Thread Sam Li
By adding zone operations and zoned metadata, the zoned emulation capability enables full emulation support of zoned device using a qcow2 file. The zoned device metadata includes zone type, zoned device state and write pointer of each zone, which is stored to an array of unsigned integers. Each zo