Re: [PATCH 4/4] qemu: snapshot: Fix return value of external checkpoint with no disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/20/2014 10:16 AM, Eric Blake wrote:
> 
> Adding an option to 'virsh save' to not kill the guest doesn't make much
> sense in general,

because memory state without matching disk state can't be used to resume
a guest.

> but might make sense for a diskless VM.  Meanwhile,
> don't we already have the option to kill or keep the guest alive after
> an external memory snapshot?

Here, I was thinking of VIR_DOMAIN_SNAPSHOT_CREATE_HALT.

Thus, 'virsh save $dom $file' appears to be shorthand for diskless
'virsh snapshot-create-as $dom --halt --memspec $file'

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]