<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I'd like to propose two new operations on virtual machines: <b>suspend</b>
and <b>resume</b>:<br>
<br>
Suspend<br>
----------<br>
<br>
From libvirt.org: <i>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.</i><br>
<br>
REST syntax:<br>
<tt>POST /vms/<vm-name>/suspend</tt><br>
<br>
Return status:<br>
200: OK<br>
4xx: error<br>
<br>
Return data:<br>
None<br>
<br>
Resume<br>
----------<br>
<br>
From libvirt.org: <i>Resume a suspended domain, the process is
restarted from the state where it was frozen by calling "suspend".</i><br>
<br>
REST syntax:<br>
<tt>POST /vms/<vm-name>/resume</tt><br>
<br>
Return status:<br>
200: OK<br>
4xx: error<br>
<br>
Return data:<br>
None<br>
<br>
--------------------<br>
<br>
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.<br>
<br>
Any feedback will be very welcome.<br>
<br>
Best regards,<br>
CrÃstian.<br>
</body>
</html>