From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeKRq-0008T3-68 for qemu-devel@nongnu.org; Mon, 20 May 2013 03:24:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeKRk-00015M-Rz for qemu-devel@nongnu.org; Mon, 20 May 2013 03:23:58 -0400 Received: from mail-ea0-x22e.google.com ([2a00:1450:4013:c01::22e]:36622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeKRk-00014x-LY for qemu-devel@nongnu.org; Mon, 20 May 2013 03:23:52 -0400 Received: by mail-ea0-f174.google.com with SMTP id z7so3754699eaf.33 for ; Mon, 20 May 2013 00:23:51 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5199CF7F.3060507@redhat.com> Date: Mon, 20 May 2013 09:23:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1368628476-19622-1-git-send-email-stefanha@redhat.com> <519479B4.6080906@linux.vnet.ibm.com> <20130516074746.GF1597@stefanha-thinkpad.redhat.com> <519603C1.5060104@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/8] block: drive-backup live backup command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Fam Zheng , qemu-devel , Dietmar Maurer , imain@redhat.com, Stefan Hajnoczi , Wenchao Xia Il 20/05/2013 08:24, Stefan Hajnoczi ha scritto: >> > You only need to fdatasync() before every guest flush, no? > No, you need to set the dirty bit before issuing the write on the > host. Otherwise the image data may be modified without setting the > appropriate dirty bit. That would allow data modifications to go > undetected! But data modifications can go undetected until the guest flush returns, can't they? Paolo