Power-on Power-off for VMs.
|Assignee:||Ruben S. Montero||% Done:|
|Target version:||Release 3.8|
Currently there are the following operations for a running VM without freeing the host resources:
- reboot equivalent to send the reboot ACPI signal
- reset hard reboot
- suspend the state of the machine is saved and restored upon a resume operation
This feature is to implement a poweroff, that leaves the VM disks in the host and do not free resources; and poweron to boot a previously powered off.
An initial patch for this is attached and contributed by China Mobile. This patch includes also other modifications to integrated OpenNebula with Onest storage of Bigcloud, and an specific bc-ec scheduler.
Feature #1404: Add new onevm poweroff command. New VM states POWEROFF and SHUTDOWN_POWEROFF
Feature #1404: Add poweron/poweroff actions to Sunstone and SelfService
(cherry picked from commit c400ee76174fbdd61e0ab6f6fdca5064dce566e5)
feature #1404: Restart operations are done the same way. STATE and LCM_STATE are changed atomically