aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-02-10 23:12:46 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-11 08:14:05 -0600
commit2c5a7f20112615ce13a3434ab90bee1ed8d44ebd (patch)
tree31a66d9ac94605b8ca7085fb8c32092618961c7b /tcg
parent9ee0cb201e6bfe03549a649fd165a85cfed34d05 (diff)
block-migration: fix block_save_iterate() return value
The .save_live_iterate() function returns 0 to continue iterating or 1 to stop iterating. Since 16310a3cca7320edb9341c976f7819de0a8c27e0 it only ever returns 0, leading to an infinite loop. Return 1 if we have finished sending dirty blocks. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1360534366-26723-4-git-send-email-stefanha@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions