qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu-img qcow and raw format


From: Francois Visconte
Subject: [Qemu-devel] qemu-img qcow and raw format
Date: Thu, 12 Apr 2007 10:09:47 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070302)

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çois Visconte






reply via email to

[Prev in Thread] Current Thread [Next in Thread]