diff options
author | Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp> | 2010-07-20 18:19:00 +0900 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-07-26 13:39:39 +0200 |
commit | b02bea3a85cc939f09aa674a3f1e4f36d418c007 (patch) | |
tree | 419ca89ad1df9d40015bb4e3c1a20596ca6f226f /bswap.h | |
parent | 253cb7b9909806b83d73269afb9cf0ab3fa2ce2c (diff) |
block migration: propagate return value when bdrv_write() returns < 0
Currently block_load() doesn't check return value of bdrv_write(), and
even the destination weren't prepared to execute block migration, it
proceeds and guest boots on the target. This patch fix this issue.
Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'bswap.h')
0 files changed, 0 insertions, 0 deletions