From: "Marc Bevand" <m.bevand@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] Update documentation for qemu-img + add new -B option
Date: Wed, 4 Jun 2008 10:09:33 -0700 [thread overview]
Message-ID: <aaccfcb60806041009t10ddb2b1j41da19e59d815572@mail.gmail.com> (raw)
In-Reply-To: <20080604153953.GA31234@shareable.org>
On Wed, Jun 4, 2008 at 8:39 AM, Jamie Lokier <jamie@shareable.org> wrote:
>
> - When using a relative image, you should be able to set the
> permissions on the base image to read-only. If you have a lot of
> relative images, it's really important not to modify the base
> image, and worrying that one of your QEMU processes might write to
> the base image. Virtual PC allows the base image to be read-only,
> and quite a lot of notes on Differencing stress how important it
> is to set permissions that way, if you are sharing the base.
I have been using qemu this way for a while: hundreds of cow images
based on a small set of read-only base images (that were also
chattr +i to prevent accidents).
> - I'm never sure from the documentation what happens when using
> '-snapshot' with a relative image, and you issue the 'commit'
> monitor command. Does it commit the snapshot to the relative
> image, or the snapshot all the way to the base image (as help suggests).
I am pretty sure it commits to the relative image though I have
never used -snapshot and have never looked at the code.
> - Same for images which are relative to other relative images,
> i.e. nested. How far up the tree does 'commit' write too?
To the first base image. The commit command always commit
to the next base image only in the chain. If you have A, based
on B, based on C, the only way to commit to C is to open B and
issue "commit".
> - qemu's 'vpc' format support isn't mentioned in the man page.
> That would explain why someone submitted another implementation a
> while back.
Yeah the doc is generally vastly outdated... There are tons of
undocumented qemu options too.
--
Marc Bevand
next prev parent reply other threads:[~2008-06-04 17:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 6:22 [Qemu-devel] [PATCH 0/2] Update documentation for qemu-img + add new -B option Marc Bevand
2008-06-04 6:23 ` [Qemu-devel] [PATCH 1/2] Update documentation for qemu-img convert options Marc Bevand
2008-06-04 13:54 ` [Qemu-devel] " Anthony Liguori
2008-06-04 6:23 ` [Qemu-devel] [PATCH 2/2] New qemu-img convert -B option to preserve the COW aspect of images and/or re-base them Marc Bevand
2008-06-04 14:03 ` [Qemu-devel] " Anthony Liguori
2008-06-04 7:37 ` [Qemu-devel] [PATCH 0/2] Update documentation for qemu-img + add new -B option Jamie Lokier
2008-06-04 10:24 ` Marc Bevand
2008-06-04 15:39 ` Jamie Lokier
2008-06-04 17:09 ` Marc Bevand [this message]
2008-06-05 12:16 ` Jamie Lokier
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=aaccfcb60806041009t10ddb2b1j41da19e59d815572@mail.gmail.com \
--to=m.bevand@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).