From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HbwQj-0003V7-GK for qemu-devel@nongnu.org; Thu, 12 Apr 2007 06:21:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HbwQi-0003Us-6K for qemu-devel@nongnu.org; Thu, 12 Apr 2007 06:21:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbwQh-0003Uo-Tk for qemu-devel@nongnu.org; Thu, 12 Apr 2007 06:21:27 -0400 Received: from nz-out-0506.google.com ([64.233.162.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HbwMY-0008QI-Ae for qemu-devel@nongnu.org; Thu, 12 Apr 2007 06:17:10 -0400 Received: by nz-out-0506.google.com with SMTP id i11so920805nzi for ; Thu, 12 Apr 2007 03:17:09 -0700 (PDT) Message-ID: Date: Thu, 12 Apr 2007 11:17:08 +0100 From: Gildas Subject: Re: [Qemu-devel] qemu-img qcow and raw format In-Reply-To: <461DE94B.4030900@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <461DE94B.4030900@inria.fr> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Creating a temp file maybe? Cheers, Gildas 2007/4/12, Francois Visconte : > Hello, > > I'm currently developing an OS deployment tool similar to G4U (ghost for > unix). > This is a very basic tool > - boot an initrd > - configure network > - ssh deployment-server "cat image.dd" > /dev/sda > - reboot > > > I'm using qemu to test my initrd and deployment tool and i would like > replace my raw image format with qcow images (size/compression and crypto= ) > > - ssh deployment-server "cat image.qcow" | qemu-img - -O raw /dev/sda > > The problem is qemu-img can't read from stdin, so i tried : > > - mkfifo deploy-in.fifo > - qemu-img convert deploy-in.fifo -O raw /dev/sda > - ssh deployment-server "cat image.qcow" > deploy-in.fifo > qemu-img: Could not open 'deploy-in.fifo' > > > Is there any way to achieve this goal ? > > > Cheers, > Fran=E7ois Visconte > > > > >