Re: [RFC 5/8] virtio-blk: Fix rollback path in virtio_blk_data_plane_start()

2021-03-29 Thread Stefan Hajnoczi
On Thu, Mar 25, 2021 at 04:07:32PM +0100, Greg Kurz wrote: > When dataplane multiqueue support was added in QEMU 2.7, the path > that would rollback guest notifiers assignment in case of error > simply got dropped. > > Later on, when Error was added to blk_set_aio_context() in QEMU 4.1, > another

[RFC 5/8] virtio-blk: Fix rollback path in virtio_blk_data_plane_start()

2021-03-25 Thread Greg Kurz
When dataplane multiqueue support was added in QEMU 2.7, the path that would rollback guest notifiers assignment in case of error simply got dropped. Later on, when Error was added to blk_set_aio_context() in QEMU 4.1, another error path was introduced, but it ommits to rollback both host and gues