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

Daniel P. Berrange berrange at redhat.com
Thu Jul 20 09:22:33 UTC 2017


On Sat, Jul 15, 2017 at 11:01:25PM +0800, Peng Hao wrote:
> From: Hao Peng <peng.hao2 at zte.com.cn>
> 
> 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 at zte.com.cn>
> Reviewed-by: Wang Yechao <wang.yechao255 at zte.com.cn>
> ---
>  src/qemu/qemu_migration.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrange <berrange at redhat.com>

and pushed to git master

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list