commit | aafcdcc9ebd72b24bf8686f624ff98bb919de5fd | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Apr 11 10:45:51 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Apr 19 15:48:52 2012 +0200 |
tree | 18635b7f8da9dc0cc74f72dc2dfb73b7027363f9 | |
parent | 7299550b252c2c88ae078030428435cf83315dd4 [diff] |
qemu-iotests: Test bdrv_close while AIO is in flight If the BlockDriverState is closed/freed without draining the AIO requests first, the request coroutines may work on invalid data and file descriptors or have some dangling pointers that cause segfaults. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>