From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XORKA-0003vV-69 for qemu-devel@nongnu.org; Mon, 01 Sep 2014 09:07:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XORK5-0001X7-VJ for qemu-devel@nongnu.org; Mon, 01 Sep 2014 09:07:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XORK5-0001Ww-Oq for qemu-devel@nongnu.org; Mon, 01 Sep 2014 09:07:05 -0400 Date: Mon, 1 Sep 2014 14:07:00 +0100 From: "Richard W.M. Jones" Message-ID: <20140901130700.GV1302@redhat.com> References: <20140830145313.GN14001@redhat.com> <20140901144102.0aaae712@bahia.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140901144102.0aaae712@bahia.local> Subject: Re: [Qemu-devel] qcow2, lazy_refcounts and killing qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Mon, Sep 01, 2014 at 02:41:02PM +0200, Greg Kurz wrote: > On Sat, 30 Aug 2014 15:53:13 +0100 > "Richard W.M. Jones" wrote: > > I can reproduce this easily, although of course the reproducer will > > involve libguestfs. > > > > Rich. > > > > Can you share this reproducer ? The immediate reproducer (not very useful for you) is virt-v2v, if you enable lazy_refcounts by hacking the call to qemu-img here: https://github.com/libguestfs/libguestfs/blob/master/v2v/v2v.ml#L102 I'll try to come up with an actual reproducer, but I stress it's still going to use libguestfs because that's the only sane way to run qemu for the purposes of this test. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v