]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
vmdk: Switch to heap arrays for vmdk_write_cid
authorFam Zheng <famz@redhat.com>
Tue, 8 Mar 2016 08:24:34 +0000 (16:24 +0800)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Mar 2016 15:46:43 +0000 (16:46 +0100)
commit965415eb20b8f2252289166da1bc6e488b466873
tree38dd415f139c3b9b15eb4dcfa8b31a0806c9b692
parenta81d616437e53106c31ba5025d5f359e592a2ef4
vmdk: Switch to heap arrays for vmdk_write_cid

It is only called once for each opened image, so we can do it the easy
way.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c