From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: msun@gatech.edu
Subject: Re: [Qemu-devel] QCOW2 multiple disk (not VM) snapshots
Date: Mon, 24 Nov 2008 14:46:20 -0600 [thread overview]
Message-ID: <492B129C.7070304@codemonkey.ws> (raw)
In-Reply-To: <492AB73B.8070201@suse.de>
Kevin Wolf wrote:
> Hi Mike,
>
> Mike Sun schrieb:
>
>> For a research project, we've been doing a bit of hacking with Xen and
>> utilize QCOW disk images as our VBDs. One intriguing thing about the
>> QCOW2 format was support for multiple disk snapshots. Unfortunately,
>> it seems from what I've been able to glean that support for multiple
>> snapshots within a QCOW2 image is really only supported by QEMU's VM
>> snapshot feature. Since I'm using Xen and only use QCOW2 disk images,
>> I was wondering if there was any way from a tool such as 'qemu-img' to
>> take snapshots of the QCOW2 disk image only and not through the
>> general QEMU VM snapshot?
>>
>
> You can try the attached patch to qemu-img. I had it already for list,
> delete and apply (as that's what I've needed so far), and I just added
> create to it to make it complete. However, I didn't test it more than
> making sure that it compiles and a new snapshot is listed afterwards.
>
> If you're interested in having real snapshots with Xen, i.e. basically a
> combination of xm save/restore and qemu-img snapshot, I also have some
> patches to do that. They have quite a few dependencies, though, so they
> are not yet upstream.
>
Care to resubmit with a proper Signed-off-by line? Seems like a useful
feature.
Regards,
Anthony Liguori
> Kevin
>
next prev parent reply other threads:[~2008-11-24 20:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 19:23 [Qemu-devel] QCOW2 multiple disk (not VM) snapshots Mike Sun
2008-11-24 14:16 ` Kevin Wolf
2008-11-24 20:46 ` Anthony Liguori [this message]
2008-11-25 9:07 ` Kevin Wolf
2008-11-25 15:33 ` Kevin Wolf
2008-11-24 20:51 ` [Qemu-devel] " Charles Duffy
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=492B129C.7070304@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=msun@gatech.edu \
--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).