Re: [Qemu-devel] [PATCH v2] Don't allow multiwrites against a block device without underlying medium

2011-03-30 Thread Markus Armbruster
I think this (commit 301db7c2) should be cherry-picked into stable-0.14. Ryan Harper ry...@us.ibm.com writes: If the block device has been closed, we no longer have a medium to submit IO against, check for this before submitting io. This prevents a segfault further in the code where we

[Qemu-devel] [PATCH v2] Don't allow multiwrites against a block device without underlying medium

2011-03-07 Thread Ryan Harper
If the block device has been closed, we no longer have a medium to submit IO against, check for this before submitting io. This prevents a segfault further in the code where we dereference elements of the block driver. Signed-off-by: Ryan Harper ry...@us.ibm.com --- v1-v2: - move bs-drv

Re: [Qemu-devel] [PATCH v2] Don't allow multiwrites against a block device without underlying medium

2011-03-07 Thread Stefan Hajnoczi
I meant: Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH v2] Don't allow multiwrites against a block device without underlying medium

2011-03-07 Thread Stefan Hajnoczi
On Mon, Mar 7, 2011 at 4:01 PM, Ryan Harper ry...@us.ibm.com wrote: If the block device has been closed, we no longer have a medium to submit IO against, check for this before submitting io.  This prevents a segfault further in the code where we dereference elements of the block driver.