Re: [Qemu-devel] [PATCH] block/migration: Disable cache invalidate for incoming migration

2014-10-09 Thread Paolo Bonzini
Il 09/10/2014 04:50, Alexey Kardashevskiy ha scritto: > When migrated using libvirt with "--copy-storage-all", at the end of > migration there is race between NBD mirroring task trying to do flush > and migration completion, both end up invalidating cache. Since qcow2 > driver does not handle this

[Qemu-devel] [PATCH] block/migration: Disable cache invalidate for incoming migration

2014-10-08 Thread Alexey Kardashevskiy
When migrated using libvirt with "--copy-storage-all", at the end of migration there is race between NBD mirroring task trying to do flush and migration completion, both end up invalidating cache. Since qcow2 driver does not handle this situation very well, random crashes happen. This disables the