]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: copy enable_write_cache in bdrv_append
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Jun 2012 22:04:51 +0000 (00:04 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:43 +0000 (14:03 +0200)
commitc4a248a138028bee63a099410c79b428db0c4779
treec4f1e565b89cd8df4cd52cf532165b068f213999
parentad492c92447ae29d0c3a691f0ae357155cce12fe
block: copy enable_write_cache in bdrv_append

Because the guest will be able to flip enable_write_cache, the actual
state may not match what is used to open the new snapshot.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c