diff options
author | Kevin Wolf <kwolf@redhat.com> | 2010-07-14 12:11:51 +0200 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2010-07-20 17:41:35 -0500 |
commit | 52828c0b943637256a74bbf48ca21acb7f4cbf60 (patch) | |
tree | fb6c91a9c1776b8a33969e86dd86504c83917f7d /qemu-sockets.c | |
parent | qcow: Use bdrv_(p)write_sync for metadata writes (diff) | |
download | qemu-kvm-52828c0b943637256a74bbf48ca21acb7f4cbf60.tar.gz qemu-kvm-52828c0b943637256a74bbf48ca21acb7f4cbf60.tar.bz2 qemu-kvm-52828c0b943637256a74bbf48ca21acb7f4cbf60.zip |
qcow2: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 8b3b720620a1137a1b794fc3ed64734236f94e06)
Conflicts:
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2-snapshot.c
block/qcow2.c
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-sockets.c')
0 files changed, 0 insertions, 0 deletions