XenServer Pause

Registered by Paul Voccio

XenServer has the ability to pause an instance that will also preserve the instance's memory state. Un-pause, of course, should also be available. This is an admin-only operation.

Blueprint information

Status:
Complete
Approver:
Rick Clark
Priority:
High
Drafter:
Paul Voccio
Direction:
Approved
Assignee:
Sandy Walsh
Definition:
Approved
Series goal:
Accepted for bexar
Implementation:
Implemented
Milestone target:
None
Started by
Sandy Walsh
Completed by
Thierry Carrez

Sprints

Whiteboard

Some interesting issues with mapping power-states. The difference between xs-pause and xs-suspend is how memory is persisted (suspend -> disk, pause -> memory)

libvirt maps
{XEN_VM_POWER_STATE_HALTED, XEN_VM_POWER_STATE_SUSPENDED} => VIR_DOMAIN_SHUTOFF,
XEN_VM_POWER_STATE_PAUSED => VIR_DOMAIN_PAUSED,
XEN_VM_POWER_STATE_RUNNING => VIR_DOMAIN_RUNNING

We'll do the same thing. This implies that there will not be an implicit "suspended" state in nova.compute.power_state ... suspended vm's will show up as shutoff.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.