All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: kvm@vger.kernel.org
Subject: Re: qcow and updates
Date: Sat, 26 Jul 2008 12:18:05 +0300	[thread overview]
Message-ID: <488AEBCD.3030106@qumranet.com> (raw)
In-Reply-To: <488A0835.2020202@tmr.com>

Bill Davidsen wrote:
> This question came out of a discussion of nesting (or stringing if you 
> like) disk images using qcow.
>
> If I have an unpatched install image, say CentOS-5.2 (box "A" below). 
> and I make a copy of that with qcow and apply patches to that copy 
> (box "B" below), everything is just fine. But if I should make a 
> working qcow image from the patched version (box "C" below), which 
> works fine initially, what would happen if I applied patches to the 
> "current" version? I assume that would mess up the application 
> version, since it's a physical copy, but I'd like to be sure.
>
>      ______________
>     | [A]          |
>     | orig release |
>     |______________|
>         ||
>        {qcow copy|
>         ||
>      ____________________
>     | [B]                |
>     | patched to current |
>     |____________________|
>         ||
>        {qcow copy}
>         ||
>      _________________________
>     | [C]                     |
>     | fully config. app. svr. |
>     |_________________________|
>
> I could play with union filesystem, network mounting of /var and /usr, 
> and other tricks, but I thought I'd check that this really is a 
> problem, and the current version needs a "real" copy to the app 
> server, and then the app server needs to be patched after that.
>


Changing anything except the last image in the chain is liable to 
break.  In other words: once you use an image as a base for another 
image, this first image must never change.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


      reply	other threads:[~2008-07-26  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 17:07 qcow and updates Bill Davidsen
2008-07-26  9:18 ` Avi Kivity [this message]

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=488AEBCD.3030106@qumranet.com \
    --to=avi@qumranet.com \
    --cc=davidsen@tmr.com \
    --cc=kvm@vger.kernel.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.