Re: [PATCH v5] virtio_blk: add VIRTIO_BLK_F_LIFETIME feature support

2022-12-29 Thread Michael S. Tsirkin
On Thu, Dec 29, 2022 at 02:08:34PM +0200, Alvaro Karsz wrote: > > So due to my mistake this got pushed out to next linux release. > > Sorry :( > > No problem at all :) > > > I'd like to use this opportunity to write a new better > > interface that actually works with modern backends, > > and add

Re: [PATCH v5] virtio_blk: add VIRTIO_BLK_F_LIFETIME feature support

2022-12-29 Thread Alvaro Karsz
> So due to my mistake this got pushed out to next linux release. > Sorry :( No problem at all :) > I'd like to use this opportunity to write a new better > interface that actually works with modern backends, > and add it to the virtio spec. > > Do you think you can take up this task? Sure, I

Re: [PATCH v5] virtio_blk: add VIRTIO_BLK_F_LIFETIME feature support

2022-12-29 Thread Michael S. Tsirkin
On Mon, Dec 19, 2022 at 02:21:55PM +0200, Alvaro Karsz wrote: > Implement the VIRTIO_BLK_F_LIFETIME feature for Virtio block devices. > > This commit introduces a new ioctl command, VIRTIO_BLK_IOCTL_GET_LIFETIME. > > VIRTIO_BLK_IOCTL_GET_LIFETIME ioctl asks for the block device to provide >

[PATCH v5] virtio_blk: add VIRTIO_BLK_F_LIFETIME feature support

2022-12-19 Thread Alvaro Karsz
Implement the VIRTIO_BLK_F_LIFETIME feature for Virtio block devices. This commit introduces a new ioctl command, VIRTIO_BLK_IOCTL_GET_LIFETIME. VIRTIO_BLK_IOCTL_GET_LIFETIME ioctl asks for the block device to provide lifetime information by sending a VIRTIO_BLK_T_GET_LIFETIME command to the