From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5bQu-0001pX-9e for qemu-devel@nongnu.org; Tue, 12 Oct 2010 05:46:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5bQt-0003q4-57 for qemu-devel@nongnu.org; Tue, 12 Oct 2010 05:46:08 -0400 Received: from mail-qy0-f180.google.com ([209.85.216.180]:50540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5bQt-0003pv-2y for qemu-devel@nongnu.org; Tue, 12 Oct 2010 05:46:07 -0400 Received: by qyk1 with SMTP id 1so4732877qyk.4 for ; Tue, 12 Oct 2010 02:46:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 12 Oct 2010 10:46:06 +0100 Message-ID: Subject: Re: [Qemu-devel] snapshots From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: chandra shekar Cc: qemu-devel@nongnu.org On Tue, Oct 12, 2010 at 10:13 AM, chandra shekar wrote: > > Hi,everyone i have applied this=A0 patch > http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01662.html=A0 = to > qemu source and compiled my qemu source and now i like to > bring the snapshot out of the image file so i used > > > qemu-img convert -f qcow2 -O qcow2 -s one guest1.img > where: > > one -> is the snapshot i created in guest1.img and guest1.img contains > windows xp > > =A0but i get an error > > convert: invalid option -- 's' > qemu-img: Could not open 'one' Looks like you used your system qemu-img tool which is not compiled with the patch. Make sure to use the patched binary (./qemu-img). Stefan