Re: [Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk->root == NULL

2018-03-01 Thread Kevin Wolf
Am 16.02.2018 um 17:50 hat Stefan Hajnoczi geschrieben: > v3: > * Add Patch 1 to rename aio_context_in_iothread() to >in_aio_context_home_thread() [Eric] > v2: > * Introduce AIO_WAIT_WHILE() since aio_poll(ctx, true) is not allowed [Paolo] > > Using bdrv_inc_in_flight(blk_bs(blk)) doesn't wo

Re: [Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk->root == NULL

2018-02-28 Thread Paolo Bonzini
On 28/02/2018 16:48, Stefan Hajnoczi wrote: > On Fri, Feb 16, 2018 at 04:50:10PM +, Stefan Hajnoczi wrote: >> v3: >> * Add Patch 1 to rename aio_context_in_iothread() to >>in_aio_context_home_thread() [Eric] >> v2: >> * Introduce AIO_WAIT_WHILE() since aio_poll(ctx, true) is not allowed

Re: [Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk->root == NULL

2018-02-28 Thread Stefan Hajnoczi
On Fri, Feb 16, 2018 at 04:50:10PM +, Stefan Hajnoczi wrote: > v3: > * Add Patch 1 to rename aio_context_in_iothread() to >in_aio_context_home_thread() [Eric] > v2: > * Introduce AIO_WAIT_WHILE() since aio_poll(ctx, true) is not allowed [Paolo] > > Using bdrv_inc_in_flight(blk_bs(blk)) d

[Qemu-devel] [PATCH v3 0/5] block: fix blk_aio_*() segfault when blk->root == NULL

2018-02-16 Thread Stefan Hajnoczi
v3: * Add Patch 1 to rename aio_context_in_iothread() to in_aio_context_home_thread() [Eric] v2: * Introduce AIO_WAIT_WHILE() since aio_poll(ctx, true) is not allowed [Paolo] Using bdrv_inc_in_flight(blk_bs(blk)) doesn't work since BlockBackend->root may be NULL. This patch series solves the