From: Marius <botismarius@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] bug in qemu-img ?
Date: Sat, 13 Jan 2007 10:09:42 +0200 [thread overview]
Message-ID: <eef6708b0701130009qe7627feg40080134b381b27e@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]
Hello,
I hope you can enlight me a little bit :).
I'm trying to use qemu-img to create two disk images: a base image and a
snapshot image (diff image or copy on write, name it the way you want).
I think either qemu-img has a bug if the snapshot image has type vmdk or
this format is not supported/suitable for this. My script is:
qemu-img create -f vmdk hda-base 1G
qemu-img create -b hda-base -f vmdk hda-diff 1G
The output is:
Formating 'hda-base', fmt=vmdk, size=1048576 kB
Formating 'hda-diff', fmt=vmdk, backing_file=hda-base, size=1048576 kB
So, apparently everything went ok. However, in hda-diff file there is no
reference to hda-base file (a binary comparison will reveal this fact).
My question is: isn't there support for backing files if image type is VMDK?
It would be very useful this if you want to mount the image in windows
(using vmware mount utility).
If vmdk image type doesn't support a backing file (case in which it would be
nice for qemu-img to exit with an error), is there a way to mount a disk
image in Windows without converting it first to vmdk (using qemu-img
convert)? This operation is time consuming if the image is big.
Marius
[-- Attachment #2: Type: text/html, Size: 1268 bytes --]
reply other threads:[~2007-01-13 8:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=eef6708b0701130009qe7627feg40080134b381b27e@mail.gmail.com \
--to=botismarius@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).