Stefan Hajnoczi 9ee0cb201e block-migration: fix blk_mig_save_dirty_block() return value checking
Commit 43be3a25c931a7f61a76fbfc9d35584cbfc5fb58 changed the
blk_mig_save_dirty_block() return code handling.  The function's doc
comment says:

  /* return value:
   * 0: too much data for max_downtime
   * 1: few enough data for max_downtime
   */

Because of the 1 return value, callers must check for ret < 0 instead of
just:

  if (ret) { ... }

We do not want to bail when 1 is returned, only on error.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1360534366-26723-3-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-11 08:14:04 -06:00
2013-01-26 13:15:35 +00:00
2013-01-18 19:06:57 +01:00
2013-02-07 13:13:39 -06:00
2013-02-09 13:39:45 +00:00
2013-02-01 15:53:11 -06:00
2013-02-09 13:39:45 +00:00
2013-01-30 16:03:57 +00:00
2013-02-06 15:52:07 +01:00
2013-02-06 08:29:21 -06:00
2013-01-30 10:42:29 +01:00
2013-01-26 13:15:35 +00:00
2013-01-17 10:24:52 -02:00
2013-02-01 11:02:55 -06:00
2013-02-06 18:33:47 -06:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%