[Kimchi-devel] [RFC] Add suport for VM suspend/resume

Crístian Viana vianac at linux.vnet.ibm.com
Mon Mar 30 20:33:06 UTC 2015


Hi,

I'd like to propose two new operations on virtual machines: *suspend* 
and *resume*:

Suspend
----------

 From libvirt.org: /Suspend an active domain, the process is frozen 
without further access to CPU resources and I/O but the memory used by 
the domain at the hypervisor level will stay allocated./

REST syntax:
POST /vms/<vm-name>/suspend

Return status:
200: OK
4xx: error

Return data:
None

Resume
----------

 From libvirt.org: /Resume a suspended domain, the process is restarted 
from the state where it was frozen by calling "suspend"./

REST syntax:
POST /vms/<vm-name>/resume

Return status:
200: OK
4xx: error

Return data:
None

--------------------

This feature has been partially implemented in previous patches ("[PATCH 
0/3] VM suspend/resume", from Jan 21st), and its progress should be 
resumed soon. The UI will have to be updated accordingly by adding 
buttons to suspend and resume a VM, somewhat like the buttons which 
start and stop a VM.

Any feedback will be very welcome.

Best regards,
Crístian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150330/44c064c6/attachment.html>


More information about the Kimchi-devel mailing list