From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAz3X-0003AQ-TI for qemu-devel@nongnu.org; Fri, 23 Mar 2012 03:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAz3V-0004Y5-OB for qemu-devel@nongnu.org; Fri, 23 Mar 2012 03:37:03 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:37073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAz3V-0004Xg-Es for qemu-devel@nongnu.org; Fri, 23 Mar 2012 03:37:01 -0400 Received: by wgbfm10 with SMTP id fm10so1938240wgb.10 for ; Fri, 23 Mar 2012 00:36:59 -0700 (PDT) From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Fri, 23 Mar 2012 08:36:47 +0100 Message-Id: <1332488214-4685-1-git-send-email-benoit.canet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH V3 0/7] Make QED with live migration safe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@linux.vnet.ibm.com This is the third version of a patchset aiming at making the combined usage of QED and live migration safe. v3: -qed: Drop the flags qed structure member and use bs->open_flags to reopen (stefana) -qed: When opening honor flags parameter instead of bs->open_flags v2: -The block layer is not aware anymore of the migration state. (stefanha) -No bdrv_invalidate_cache renaming since the semantic do not change. (stefanha) -The qed bdrv_invalidate_cache function does a reopening of the image to flush metadata and to do the image integrity check. (stefanha) BenoƮt Canet (7): block: Add new BDRV_O_INCOMING flag to notice incoming live migration block: add a function to clear incoming live migration flags blockdev: open images with BDRV_O_INCOMING on incoming live migration qed: add bdrv_invalidate_cache to be called after incoming live migration migration: clear BDRV_O_INCOMING flags on end of incoming live migration qed: honor BDRV_O_INCOMING for incoming live migration qed: remove incoming live migration blocker block.c | 9 +++++++++ block.h | 3 +++ block/qed.c | 24 +++++++++++++----------- block/qed.h | 2 -- blockdev.c | 4 ++++ migration.c | 1 + 6 files changed, 30 insertions(+), 13 deletions(-) -- 1.7.7.6