When we finish migration, there may be pending async io requests
in flight. If we don't flush it before stage3 starting, it might be
the case that the guest loses it.
Signed-off-by: Glauber Costa <email address hidden>
Signed-off-by: Anthony Liguori <email address hidden>
Author: Glauber Costa <email address hidden>
Date: Mon Jul 6 09:32:09 2009 -0400
flush pending aio requests
When we finish migration, there may be pending async io requests
in flight. If we don't flush it before stage3 starting, it might be
the case that the guest loses it.
Signed-off-by: Glauber Costa <email address hidden>
Signed-off-by: Anthony Liguori <email address hidden>