From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HbutO-0001tx-Su for qemu-devel@nongnu.org; Thu, 12 Apr 2007 04:42:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HbutM-0001r9-IY for qemu-devel@nongnu.org; Thu, 12 Apr 2007 04:42:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbutL-0001p8-L7 for qemu-devel@nongnu.org; Thu, 12 Apr 2007 04:42:55 -0400 Received: from mx-serv.inrialpes.fr ([194.199.18.100]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HbupB-000367-2I for qemu-devel@nongnu.org; Thu, 12 Apr 2007 04:38:38 -0400 Received: from vilnius.inrialpes.fr (vilnius.inrialpes.fr [194.199.18.81]) by mx-serv.inrialpes.fr (8.13.6/8.13.0) with ESMTP id l3C89kTE028965 for ; Thu, 12 Apr 2007 10:09:46 +0200 (MEST) Received: from [194.199.21.69] (grisette.inrialpes.fr [194.199.21.69]) by vilnius.inrialpes.fr (8.13.6/8.11.3/ImagV2) with ESMTP id l3C89jSd004311 for ; Thu, 12 Apr 2007 10:09:45 +0200 (MEST) Message-ID: <461DE94B.4030900@inria.fr> Date: Thu, 12 Apr 2007 10:09:47 +0200 From: Francois Visconte MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] qemu-img qcow and raw format 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 Hello, I'm currently developing an OS deployment tool similar to G4U (ghost for=20 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=20 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