]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: shared disks with cache=directsync should be safe for migration
authorHao Peng <peng.hao2@zte.com.cn>
Sat, 15 Jul 2017 15:01:25 +0000 (23:01 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 20 Jul 2017 09:17:18 +0000 (10:17 +0100)
commitfed9cc85eaff6f75e3d232e350d78a53f314815f
tree6826c8b792de3cc53c128a17cc2c1820318a24c4
parent703abf1d79038dc1943e161d45982dcd045da34b
qemu: shared disks with cache=directsync should be safe for migration

At present shared disks can be migrated with either readonly or cache=none. But
cache=directsync should be safe for migration, because both cache=directsync and cache=none
don't use the host page cache, and cache=direct write through qemu block layer cache.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Reviewed-by: Wang Yechao <wang.yechao255@zte.com.cn>
src/qemu/qemu_migration.c