Searched hist:"2 d3735d3bf61d5c8e154a197a11535cc65044334" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/ |
H A D | blockdev.c | diff 2d3735d3bf61d5c8e154a197a11535cc65044334 Wed Jan 18 08:40:41 CST 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: check bdrv_in_use() before blockdev operations
Long-running block operations like block migration and image streaming must have continual access to their block device. It is not safe to perform operations like hotplug, eject, change, resize, commit, or external snapshot while a long-running operation is in progress.
This patch adds the missing bdrv_in_use() checks so that block migration and image streaming never have the rug pulled out from underneath them.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | block.c | diff 2d3735d3bf61d5c8e154a197a11535cc65044334 Wed Jan 18 08:40:41 CST 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: check bdrv_in_use() before blockdev operations
Long-running block operations like block migration and image streaming must have continual access to their block device. It is not safe to perform operations like hotplug, eject, change, resize, commit, or external snapshot while a long-running operation is in progress.
This patch adds the missing bdrv_in_use() checks so that block migration and image streaming never have the rug pulled out from underneath them.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|