All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francois Visconte <francois.visconte@inria.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu-img qcow and raw format
Date: Thu, 12 Apr 2007 10:09:47 +0200	[thread overview]
Message-ID: <461DE94B.4030900@inria.fr> (raw)

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	other threads:[~2007-04-12  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12  8:09 Francois Visconte [this message]
2007-04-12 10:17 ` [Qemu-devel] qemu-img qcow and raw format Gildas
2007-04-12 10:51   ` Francois Visconte
2007-04-12 10:54 ` Daniel Silverstone
  -- strict thread matches above, loose matches on Subject: below --
2007-04-12 15:19 Ben Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=461DE94B.4030900@inria.fr \
    --to=francois.visconte@inria.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.