[libvirt] [PATCH] qemu: shared disks with cache=directsync should be safe for migration

2017-07-12 Thread Peng Hao
From: Hao Peng 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 H

[libvirt] [PATCH] qemu: shared disks with cache=directsync should be safe for migration

2017-07-07 Thread Peng Hao
From: Hao Peng 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 H