From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROBBJ-0004kF-BM for qemu-devel@nongnu.org; Wed, 09 Nov 2011 11:39:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROBBF-0003sV-A9 for qemu-devel@nongnu.org; Wed, 09 Nov 2011 11:39:21 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:58995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROBBF-0003sN-24 for qemu-devel@nongnu.org; Wed, 09 Nov 2011 11:39:17 -0500 Received: by iakk32 with SMTP id k32so2162362iak.4 for ; Wed, 09 Nov 2011 08:39:15 -0800 (PST) Message-ID: <4EBAACAF.4080407@codemonkey.ws> Date: Wed, 09 Nov 2011 10:39:11 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <4EBAAA68.10801@redhat.com> In-Reply-To: <4EBAAA68.10801@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lucas Meneghel Rodrigues Cc: Kevin Wolf , KVM mailing list , "Michael S. Tsirkin" , Marcelo Tosatti , QEMU devel , Juan Jose Quintela Carreira , Avi Kivity On 11/09/2011 10:29 AM, Lucas Meneghel Rodrigues wrote: > Hi guys, here I am, reporting yet another issue with qemu. This time, it's > something that was first reported in January, and Juan proposed a patch for it: > > http://comments.gmane.org/gmane.comp.emulators.qemu/89009 Migration with qcow2 is not a supported feature for 1.0. Migration is only supported with raw images using coherent shared storage[1]. [1] NFS is only coherent with close-to-open which right now is not good enough for migration. Regards, Anthony Liguori > > [PATCH 4/5] Reopen files after migration > > The symptom is, when running disk stress or any intense IO operation in guest > while migrating it causes a qcow2 corruption. We've seen this consistently on > the daily test jobs, both for qemu and qemu-kvm. The test that triggers it is > autotest stress test running on a VM with ping-pong background migration. > > The fix proposed by Juan is on our RHEL branch and such a problem does not > happen on the RHEL branch. So, what about re-considering Juan's patch, or maybe > work out a solution that is satisfactory for the upstream maintainers? > > I'll open a launchpad bug with this report. > > Thanks, > > Lucas >