summaryrefslogtreecommitdiff
path: root/disas.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-11-08 17:02:56 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-11-21 09:16:56 -0600
commit33656af70230d5ccebe29e2f3bee38afe17db9b2 (patch)
treeaa8ff2f779a32f571a075694e4f06d46a1cd518f /disas.h
parent4dcafbb1eba2ee201ec86027982659b669f99c70 (diff)
downloadqemu-33656af70230d5ccebe29e2f3bee38afe17db9b2.tar.gz
qemu-33656af70230d5ccebe29e2f3bee38afe17db9b2.tar.bz2
qemu-33656af70230d5ccebe29e2f3bee38afe17db9b2.zip
block migration: do not submit multiple AIOs for same sector
Block migration can submit multiple AIO reads for the same sector/chunk, but completion of such reads can happen out of order: migration guest - get_dirty(N) - aio_read(N) - clear_dirty(N) write(N) set_dirty(N) - get_dirty(N) - aio_read(N) If the first aio_read completes after the second, stale data will be migrated to the destination. Fix by not allowing multiple AIOs inflight for the same sector. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'disas.h')
0 files changed, 0 insertions, 0 deletions