From: Marc Bevand Subject: Re: qcow2 corruption observed, fixed by reverting old change Date: Sun, 15 Feb 2009 03:46:58 -0800 Message-ID: References: <20090211070049.GA27821@shareable.org> <49955681.9070301@suse.de> <20090215105718.GH25994@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kevin Wolf , kvm@vger.kernel.org, qemu-devel@nongnu.org To: Gleb Natapov Return-path: Received: from mail-fx0-f20.google.com ([209.85.220.20]:60465 "EHLO mail-fx0-f20.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752573AbZBOLrB (ORCPT ); Sun, 15 Feb 2009 06:47:01 -0500 Received: by fxm13 with SMTP id 13so4852412fxm.13 for ; Sun, 15 Feb 2009 03:46:58 -0800 (PST) In-Reply-To: <20090215105718.GH25994@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Feb 15, 2009 at 2:57 AM, Gleb Natapov wrote: > > I am not able to reproduce this. After more then hundred boot linux; generate > disk io; quit loops all I've got is an image with 7 leaked blocks and > couple of filesystem corruptions that were fixed by fsck. The type of activity occuring in the guest is most likely an important factor determining the probability of the bug occuring. So you should try running guest OSes I remember having been affected by it: Windows 2003 SP2 x64. And now that I think about it, I don't recall any other guest OS having been a victim of that bug... coincidence ? Other factors you might consider when trying to reproduce: the qcow2 images that ended up being corrupted had a backing file (a read-only qcow2 image); NPT was in use; the host filesystem was xfs; my command line was: $ qemu-system-x86_64 -name xxx -monitor stdio -vnc xxx:xxx -hda hda -net nic,macaddr=xx:xx:xx:xx:xx:xx,model=rtl8139 -net tap -boot c -cdrom "" -cpu qemu64 -m 1024 -usbdevice tablet -marc