[libvirt] RFE: Ability to freeze/thaw guest using libvirt/virsh APIs

Deepak C Shetty deepakcs at linux.vnet.ibm.com
Tue Apr 30 09:55:26 UTC 2013


I am sending this mail based on the below IRC discussion.

Apr 23 18:55:02 <deepakcs>      Hi all, is there a way to just do a 
fsfreeze (and un-freeze) of VM usign virsh. I don't see any option today....

Apr 23 18:55:52 <deepakcs>      there is option to take snapshot (which 
in turn would do freeze/un-freeze), but i want to exercise the 
freeze/un-freeze only.. w/o the snapshot
Apr 23 19:23:57 <eblake>        deepakcs: virsh qemu-agent-command can 
trigger any agent command
Apr 23 19:24:35 <eblake>        but it is officially unsupported - more 
of a development aid
Apr 23 19:26:38 <eblake>        if it turns out that freezing the guest 
with libvirt commands is worth promoting into a supported api, instead 
of the qemu-agent-command backdoor, then report that as an RFE to the list
Apr 23 19:27:14 <deepakcs>      eblake, sorry was in a mtg..
Apr 23 19:28:03 <deepakcs>      eblake, yeah.. i was wondering that it 
would be good to have freeze/un-freeze as supported virsh ops.. then it 
helps users exploit snapshot functionality provided by things like 
storage arrays (as an example)
Apr 23 19:28:47 <eblake>        well, as qemu continues to add more 
snapshot building blocks, it may make sense




More information about the libvir-list mailing list