[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] how can i take a snapshot for running system
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] how can i take a snapshot for running system |
Date: |
Mon, 04 Jun 2012 08:03:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
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 address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature