qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@suse.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Combining "loadvm" and "-snapshot"
Date: Wed, 21 Jan 2009 10:12:36 +0100	[thread overview]
Message-ID: <4976E704.7020607@suse.de> (raw)
In-Reply-To: <18806.25890.35889.274762@amuro.CS.Berkeley.EDU>

Stephen McCamant schrieb:
> I've tried implementing an alternate approach that makes "loadvm" work
> under "-snapshot" by finding and loading the VM state from the backing
> image, if a snapshot with that name isn't found in the scratch image.
> In some preliminary testing, this seems to do what I want; you can
> also make new snapshots with savevm that live only in the scratch
> image (and so go away at the end of the session).

I think, this is the point where your approach will break. A snapshot in
the scratch image is still based on a snapshot in the backing image. So
on loading the scratch snapshot you would also need to load the snapshot
for the backing file. However, you don't know which one because qcow2
can't save a snapshot name for the backing file.

Kevin

  reply	other threads:[~2009-01-21  9:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20 23:58 [Qemu-devel] Combining "loadvm" and "-snapshot" Stephen McCamant
2009-01-21  9:12 ` Kevin Wolf [this message]
2009-01-21 21:09   ` Stephen McCamant
2009-01-22 10:01     ` Kevin Wolf

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=4976E704.7020607@suse.de \
    --to=kwolf@suse.de \
    --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).