From: Eric Blake <eblake@redhat.com>
To: 冷雨 <frozenrain86@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] how can i take a snapshot for running system
Date: Mon, 04 Jun 2012 08:03:51 -0600 [thread overview]
Message-ID: <4FCCC047.406@redhat.com> (raw)
In-Reply-To: <CAHXDN=boWPvL8_wfA9xM+XGxffPTu2QJkxun_S09o9B2wuwOvQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
On 06/01/2012 10:46 PM, 冷雨 wrote:
> i want take a snap for running system,how do i?
> now i can use qemu-img.exe to take a snapshot.
> and it not save the running memeory info.
>
Use the 'savevm' monitor command, if you are using qcow2 disk images.
It might also be possible to use 'migrate' to migrate running memory
info to a file in the background, and then when that completes use
'blockdev-snapshot-sync', as a way of cobbling together a complete
snapshot even if you don't use qcow2 disk images.
If you are using libvirt, then libvirt has wrapped these actions under
its virDomainSnapshotCreateXML API.
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]
prev parent reply other threads:[~2012-06-04 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-02 4:46 [Qemu-devel] how can i take a snapshot for running system 冷雨
2012-06-04 14:03 ` Eric Blake [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=4FCCC047.406@redhat.com \
--to=eblake@redhat.com \
--cc=frozenrain86@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).