Hi Fabrice,
What are you think about this patch?
Are you have a comments?
If you accept it, I'll try to fix the race condition on snapshot writing.
Regards
Igor Lvovsky
* From: * address@hidden
[mailto:address@hidden *On
Behalf Of * Igor Lvovsky
*Sent:* Monday, January 15, 2007 4:51 PM
*To:* address@hidden
*Subject:* [Qemu-devel] New multiple snapshot support for VMDK.
Hi all,
It's the new patch for the multiple snapshot support for the VMDK format.
I rewrote the previous one according to the new multiple snapshots
concept, introduced by Fabrice.
The snapshots can be created with standard way:
qemu-img create –b base-image.vmdk –f vmdk snapshot-img-001.vmdk
We can create the snapshots chain in this way.
The patch include also the 'CID' protection that defined by the VMDK
format.
The CID is a value updated on the first write every time the virtual
disk is opened.
P.S. Fabrice, I used the bdrv_pread() and bdrv_pwrite(), as you advised
me.
Regards,
Igor Lvovsky
------------------------------------------------------------------------
_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel