On Sat, Jun 04, 2011 at 08:40:22AM +0800, Fam Zheng wrote:
fail:
-qemu_free(s-l1_backup_table);
-qemu_free(s-l1_table);
-qemu_free(s-l2_cache);
+if(s-extents) {
+qemu_free(s-extents[0].l1_backup_table);
+qemu_free(s-extents[0].l1_table);
+
On Thu, Jun 9, 2011 at 3:58 PM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Sat, Jun 04, 2011 at 08:40:22AM +0800, Fam Zheng wrote:
fail:
- qemu_free(s-l1_backup_table);
- qemu_free(s-l1_table);
- qemu_free(s-l2_cache);
+ if(s-extents) {
+
On Thu, Jun 9, 2011 at 11:20 AM, Fam Zheng famc...@gmail.com wrote:
On Thu, Jun 9, 2011 at 3:58 PM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Sat, Jun 04, 2011 at 08:40:22AM +0800, Fam Zheng wrote:
fail:
- qemu_free(s-l1_backup_table);
- qemu_free(s-l1_table);
-
Added VmdkExtent array to hold image extent information, with the
exsiting functionalities fit into this structure.
Signed-off-by: Fam Zheng famc...@gmail.com
---
block/vmdk.c | 301 ++
1 files changed, 200 insertions(+), 101 deletions(-)