diff options
author | Alexey Kardashevskiy | 2014-10-09 04:50:46 +0200 |
---|---|---|
committer | Juan Quintela | 2014-10-14 09:35:21 +0200 |
commit | 7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35 (patch) | |
tree | 7db382cb3a25419bfafdfa8bfa8f8f248debe1bd /include | |
parent | Tests: QEMUSizedBuffer/QEMUBuffer (diff) | |
download | qemu-7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35.tar.gz qemu-7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35.tar.xz qemu-7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35.zip |
block/migration: Disable cache invalidate for incoming migration
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 BDRV_O_INCOMING flag for the block device being migrated
once the cache has been invalidated.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
--
fixed parens by hand
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions