diff options
author | Alberto Garcia | 2016-03-21 14:47:25 +0100 |
---|---|---|
committer | Jeff Cody | 2016-03-28 19:56:44 +0200 |
commit | 6578629e08db7081e1890ba019170d452e09430b (patch) | |
tree | 15834138f165fe2af76c83d8392753a79533dc62 /ui/sdl.c | |
parent | Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20160324' into staging (diff) | |
download | qemu-6578629e08db7081e1890ba019170d452e09430b.tar.gz qemu-6578629e08db7081e1890ba019170d452e09430b.tar.xz qemu-6578629e08db7081e1890ba019170d452e09430b.zip |
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 'ui/sdl.c')
0 files changed, 0 insertions, 0 deletions