block migration: fix return value
commit9fc6075d289702fd6a169dfadc42a52f49f219df
authorGary R Hook <gary.hook@nimboxx.com>
Tue, 25 Nov 2014 23:30:02 +0000 (25 17:30 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 22 Feb 2015 18:10:06 +0000 (22 12:10 -0600)
tree8c8f533678675df55d9907639535a412918add1e
parent6950b92765595fe3255f6127a517c3866c5df4bd
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