Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-02 Thread Stefan Hajnoczi
On Thu, 2 Jun 2022 at 11:28, Sam Li wrote: > > Stefan Hajnoczi 于2022年6月2日周四 16:05写道: > > > > On Thu, 2 Jun 2022 at 06:43, Sam Li wrote: > > > > > > Hi Stefan, > > > > > > Stefan Hajnoczi 于2022年6月1日周三 19:43写道: > > > > > > > > On Wed, 1 Jun 2022 at 06:47, Damien Le Moal > > > > wrote: > > > > >

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-02 Thread Sam Li
Stefan Hajnoczi 于2022年6月2日周四 16:05写道: > > On Thu, 2 Jun 2022 at 06:43, Sam Li wrote: > > > > Hi Stefan, > > > > Stefan Hajnoczi 于2022年6月1日周三 19:43写道: > > > > > > On Wed, 1 Jun 2022 at 06:47, Damien Le Moal > > > wrote: > > > > > > > > On 6/1/22 11:57, Sam Li wrote: > > > > > Hi Stefan, > > > >

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-02 Thread Stefan Hajnoczi
On Thu, 2 Jun 2022 at 06:43, Sam Li wrote: > > Hi Stefan, > > Stefan Hajnoczi 于2022年6月1日周三 19:43写道: > > > > On Wed, 1 Jun 2022 at 06:47, Damien Le Moal > > wrote: > > > > > > On 6/1/22 11:57, Sam Li wrote: > > > > Hi Stefan, > > > > > > > > Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > > > > > > >

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-01 Thread Sam Li
Hi Stefan, Stefan Hajnoczi 于2022年6月1日周三 19:43写道: > > On Wed, 1 Jun 2022 at 06:47, Damien Le Moal > wrote: > > > > On 6/1/22 11:57, Sam Li wrote: > > > Hi Stefan, > > > > > > Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > > > > > > > >> > > >> On Mon, 30 May 2022 at 06:09, Sam Li wrote: > > >>> > >

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-01 Thread Stefan Hajnoczi
On Wed, 1 Jun 2022 at 06:47, Damien Le Moal wrote: > > On 6/1/22 11:57, Sam Li wrote: > > Hi Stefan, > > > > Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > > > > >> > >> On Mon, 30 May 2022 at 06:09, Sam Li wrote: > >>> > >>> Hi everyone, > >>> I'm Sam Li, working on the Outreachy project which is t

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-01 Thread Stefan Hajnoczi
On Wed, 1 Jun 2022 at 11:19, Sam Li wrote: > Damien Le Moal 于2022年6月1日周三 13:47写道: > > On 6/1/22 11:57, Sam Li wrote: > > > Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > >> On Mon, 30 May 2022 at 06:09, Sam Li wrote: > > For the zone struct: You may need to add a read-write lock per zone to be > >

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-06-01 Thread Sam Li
Hi Damien, Damien Le Moal 于2022年6月1日周三 13:47写道: > > On 6/1/22 11:57, Sam Li wrote: > > Hi Stefan, > > > > Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > > > > >> > >> On Mon, 30 May 2022 at 06:09, Sam Li wrote: > >>> > >>> Hi everyone, > >>> I'm Sam Li, working on the Outreachy project which is to

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-31 Thread Damien Le Moal
On 6/1/22 11:57, Sam Li wrote: > Hi Stefan, > > Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > >> >> On Mon, 30 May 2022 at 06:09, Sam Li wrote: >>> >>> Hi everyone, >>> I'm Sam Li, working on the Outreachy project which is to add zoned >>> device support to QEMU's virtio-blk emulation. >>> >>> Fo

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-31 Thread Sam Li
Hi Stefan, Stefan Hajnoczi 于2022年5月30日周一 19:19写道: > > On Mon, 30 May 2022 at 06:09, Sam Li wrote: > > > > Hi everyone, > > I'm Sam Li, working on the Outreachy project which is to add zoned > > device support to QEMU's virtio-blk emulation. > > > > For the first goal, adding QEMU block layer A

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-30 Thread Damien Le Moal
On 2022/05/30 20:22, Stefan Hajnoczi wrote: > On Mon, 30 May 2022 at 06:38, Damien Le Moal wrote: >> On 2022/05/30 14:09, Sam Li wrote: >> Once you have an API working and the ability to execute all zone operations >> from >> a guest, you can then work on adding the more difficult bits: supportin

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-30 Thread Stefan Hajnoczi
On Mon, 30 May 2022 at 06:38, Damien Le Moal wrote: > On 2022/05/30 14:09, Sam Li wrote: > Once you have an API working and the ability to execute all zone operations > from > a guest, you can then work on adding the more difficult bits: supporting the > zone append operation will require trackin

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-30 Thread Stefan Hajnoczi
On Mon, 30 May 2022 at 06:09, Sam Li wrote: > > Hi everyone, > I'm Sam Li, working on the Outreachy project which is to add zoned > device support to QEMU's virtio-blk emulation. > > For the first goal, adding QEMU block layer APIs resembling Linux ZBD > ioctls, I think the naive approach would be

Re: Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-29 Thread Damien Le Moal
On 2022/05/30 14:09, Sam Li wrote: > Hi everyone, Hi Sam, > I'm Sam Li, working on the Outreachy project which is to add zoned > device support to QEMU's virtio-blk emulation. > > For the first goal, adding QEMU block layer APIs resembling Linux ZBD > ioctls, I think the naive approach would be

Outreachy project task: Adding QEMU block layer APIs resembling Linux ZBD ioctls.

2022-05-29 Thread Sam Li
Hi everyone, I'm Sam Li, working on the Outreachy project which is to add zoned device support to QEMU's virtio-blk emulation. For the first goal, adding QEMU block layer APIs resembling Linux ZBD ioctls, I think the naive approach would be to introduce a new stable struct zbd_zone descriptor for