]> git.proxmox.com Git - qemu.git/commit
VMDK: move 'static' cid_update flag to bs field
authorFam Zheng <famcool@gmail.com>
Tue, 12 Jul 2011 11:56:34 +0000 (19:56 +0800)
committerKevin Wolf <kwolf@redhat.com>
Tue, 19 Jul 2011 13:39:07 +0000 (15:39 +0200)
commit69b4d86d9f7feb6083cedb0c5fb65fdc30daf623
tree85100afb6dd546be93011d828e637282ea486752
parent333c574d054f95912beef4f020f4128868463fd4
VMDK: move 'static' cid_update flag to bs field

Cid_update is the flag for updating CID on first write after opening the
image. This should be per image open rather than per program life cycle,
so change it from static var of vmdk_write to a field in BDRVVmdkState.

Signed-off-by: Fam Zheng <famcool@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c