commit | b02bea3a85cc939f09aa674a3f1e4f36d418c007 | [log] [tgz] |
---|---|---|
author | Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp> | Tue Jul 20 18:19:00 2010 +0900 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Jul 26 13:39:39 2010 +0200 |
tree | 419ca89ad1df9d40015bb4e3c1a20596ca6f226f | |
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>