flush pending aio requests
commit0884657b2e39f2cf85dfa99361817fde07e83786
authorGlauber Costa <glommer@redhat.com>
Mon, 6 Jul 2009 13:32:09 +0000 (6 09:32 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 18:44:30 +0000 (10 13:44 -0500)
treef0209a7fdd0871f196c24ddbc00a2628c6f776c9
parentd9db889faf1bea70d36e31231bf324ae009c6344
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 <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration.c