From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfQhO-0003c4-5j for qemu-devel@nongnu.org; Thu, 23 May 2013 04:16:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfQhJ-0007bz-Ez for qemu-devel@nongnu.org; Thu, 23 May 2013 04:16:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfQhJ-0007bs-5d for qemu-devel@nongnu.org; Thu, 23 May 2013 04:16:29 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4N8GSWH002862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 May 2013 04:16:28 -0400 Date: Thu, 23 May 2013 09:16:24 +0100 From: "Richard W.M. Jones" Message-ID: <20130523081624.GC28893@redhat.com> References: <1369280289-20928-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <1369280289-20928-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 00/11] curl: fix curl read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline v5 tested and works for me. Attached is the test script I'm using. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones 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 --17pEHd4RhPHOinZp Content-Type: application/x-sh Content-Disposition: attachment; filename="test.sh" Content-Transfer-Encoding: quoted-printable #!/bin/bash -=0A=0A# Enable core dumps.=0Aulimit -c unlimited=0A=0A# Locati= on of self-compiled Curl (from git):=0Aexport LD_LIBRARY_PATH=3D~/d/curl/li= b/.libs=0A=0A# Location of self-compiled qemu (from git):=0Aexport LIBGUEST= FS_QEMU=3D~/d/qemu/qemu.wrapper=0Aexport PATH=3D~/d/qemu:$PATH=0A=0A# Set u= p libguestfs to run qemu directly instead of using libvirt:=0Aexport LIBGUE= STFS_BACKEND=3Ddirect=0A=0A# Enable libguestfs debugging (optional):=0Aexpo= rt LIBGUESTFS_DEBUG=3D1=0Aexport LIBGUESTFS_TRACE=3D1=0A=0A# Location of re= mote disk image over http:=0Adisk=3D"http://192.168.0.249/scratch/winxp.img= "=0Aformat=3D"raw"=0A=0A# Location of libguestfs directory (compiled from g= it):=0Acd ~/d/libguestfs=0A=0A# Run guestfish script.=0A./run ./fish/guestf= ish --ro --format=3D"$format" -a "$disk" -i <