diff options
author | Alberto Garcia <berto@igalia.com> | 2016-03-21 15:47:25 +0200 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2016-03-28 13:56:44 -0400 |
commit | 6578629e08db7081e1890ba019170d452e09430b (patch) | |
tree | 15834138f165fe2af76c83d8392753a79533dc62 /tests/qemu-iotests | |
parent | b68a80139e37e806f004237e55311ebc42151434 (diff) |
block: never cancel a streaming job without running stream_complete()
We need to call stream_complete() in order to do all the necessary
clean-ups, even if there's an early failure. At the moment it's only
useful to make sure that s->backing_file_str is not leaked, but it
will become more important if we introduce support for streaming to
any intermediate node.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 2abedf2debc65c250560237f31a8e6756883c8fc.1458566441.git.berto@igalia.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
0 files changed, 0 insertions, 0 deletions