qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] how can i take a snapshot for running system
@ 2012-06-02  4:46 冷雨
  2012-06-04 14:03 ` Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: 冷雨 @ 2012-06-02  4:46 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 176 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] how can i take a snapshot for running system
  2012-06-02  4:46 [Qemu-devel] how can i take a snapshot for running system 冷雨
@ 2012-06-04 14:03 ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2012-06-04 14:03 UTC (permalink / raw)
  To: 冷雨; +Cc: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-04 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-02  4:46 [Qemu-devel] how can i take a snapshot for running system 冷雨
2012-06-04 14:03 ` Eric Blake

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).