]> git.ipfire.org Git - thirdparty/qemu.git/commit
block migration: fix return value
authorGary R Hook <gary.hook@nimboxx.com>
Tue, 25 Nov 2014 23:30:02 +0000 (17:30 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 14 Jan 2015 23:08:42 +0000 (17:08 -0600)
commit21640bf6e08e4d69bab1bd1ea0bed562d1fc726c
treea260f93153e25964f99beff774175cd4efe8aa17
parent6bbb939a8061d189bf29aa2b3ef1a5717380f41a
block migration: fix return value

Modify block_save_iterate() to return positive/zero/negative
(success/not done/failure) return status. The computation of
the blocks transferred (an int64_t) exceeds the size of an
int return value.

Signed-off-by: Gary R Hook <gary.hook@nimboxx.com>
Reviewed-by: ChenLiang <chenliang88@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1416958202-15913-1-git-send-email-gary.hook@nimboxx.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit ebd9fbd7e102c533143c2c8372312b75c2b2678a)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block-migration.c