On Mon, 04/18 10:53, Daniel P. Berrange wrote:
> If you want todo locks inside of QEMU, you really can't rely
> on delegating handling to each individual block driver instance.
> You need to have a process global registry of which files you have
> already locked, and check against that registry bef
On Fri, Apr 15, 2016 at 11:27:50AM +0800, Fam Zheng wrote:
> v2: Lock byte 1 in the image itself, no lock file. [Daniel]
> Fix migration (image are not locked in bdrv_open_common if
> BDRV_O_INACTIVE). [Denis]
> Simplify test case fixes because of the above.
> Add lock for RBD.
>
On 04/15/2016 06:27 AM, Fam Zheng wrote:
v2: Lock byte 1 in the image itself, no lock file. [Daniel]
Fix migration (image are not locked in bdrv_open_common if
BDRV_O_INACTIVE). [Denis]
Simplify test case fixes because of the above.
Add lock for RBD.
Add "-L" option in "q
v2: Lock byte 1 in the image itself, no lock file. [Daniel]
Fix migration (image are not locked in bdrv_open_common if
BDRV_O_INACTIVE). [Denis]
Simplify test case fixes because of the above.
Add lock for RBD.
Add "-L" option in "qemu-img" and "qemu-nbd" too. [Denis]
Add tes