qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for-1.4 0/2] block-migration: fix pending() and iter


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH for-1.4 0/2] block-migration: fix pending() and iterate() return values
Date: Tue, 12 Feb 2013 10:37:13 +0100

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(-)

-- 
1.8.1.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]