Re: [Qemu-block] [PATCH] block-backend: Preserve AioContext of root across medium change

2016-09-23 Thread Max Reitz
On 23.09.2016 12:58, Fam Zheng wrote: > This is nop for non-dataplane case, but it prevents crash > (virtio_scsi_ctx_check assertion failure) when a scsi-cd change > operation happens on a virtio-scsi dataplane device. > > Cc: qemu-sta...@nongnu.org > Signed-off-by: Fam Zheng >

Re: [Qemu-block] [PATCH] block-backend: Preserve AioContext of root across medium change

2016-09-23 Thread Paolo Bonzini
On 23/09/2016 12:58, Fam Zheng wrote: > This is nop for non-dataplane case, but it prevents crash > (virtio_scsi_ctx_check assertion failure) when a scsi-cd change > operation happens on a virtio-scsi dataplane device. > > Cc: qemu-sta...@nongnu.org > Signed-off-by: Fam Zheng >

[Qemu-block] [PATCH] block-backend: Preserve AioContext of root across medium change

2016-09-23 Thread Fam Zheng
This is nop for non-dataplane case, but it prevents crash (virtio_scsi_ctx_check assertion failure) when a scsi-cd change operation happens on a virtio-scsi dataplane device. Cc: qemu-sta...@nongnu.org Signed-off-by: Fam Zheng --- block/block-backend.c | 7 +++