Il 12/02/2013 10:37, Stefan Hajnoczi ha scritto: > This series finally ensures that we never complete block migration before the > entire disk image has been transferred. > > Juan explained to me on IRC yesterday what the .save_live_pending() and > .save_live_iterate() are supposed to return. I had misunderstood them when > reading outdated code in savevm.c and 2c5a7f20112615ce13a3434ab90bee1ed8d44ebd > does not prevent block migration from completing too early. > > See the patch descriptions for an explanation of what the .save_live_pending() > and .save_live_iterate() return values mean. > > Stefan Hajnoczi (2): > migration: make qemu_ftell() public and support writable files > block-migration: fix pending() and iterate() return values > > block-migration.c | 22 +++++++++++++--------- > include/migration/qemu-file.h | 1 + > savevm.c | 9 +++++++-- > 3 files changed, 21 insertions(+), 11 deletions(-) >
Looks good, thanks! Paolo