Re: [Qemu-devel] [PATCH 10/10] qcow2: Add image locking

2015-12-22 Thread Eric Blake
On 12/22/2015 09:46 AM, Kevin Wolf wrote: > People have been keeping destroying their qcow2 images by using Any of these sound better: People have kept on destroying People have been destroying People keep on destroying > 'qemu-img snapshot' on images that were in use by a VM. This patch adds >

[Qemu-devel] [PATCH 10/10] qcow2: Add image locking

2015-12-22 Thread Kevin Wolf
People have been keeping destroying their qcow2 images by using 'qemu-img snapshot' on images that were in use by a VM. This patch adds some image locking that protects them against this mistake. In order to achieve this, a new compatible header flag is introduced that tells that the image is curr