xen-org/xen-api — pull request #583 by johnelse (2012-05-04 16:30:57+00:00)
Title: Enable resume of VMs suspended on pre-xenopsd hosts.

VmExtra.t is now split into two parts: persistent_t and non_persistent_t. persistent_t is exported to xapi when suspending a VM, whereas non_persistent_t is regenerated on resume.

When resuming a VM, we also attempt to parse the last_booted_record according to the old format; if this succeeds we pass the VM metadata to xenopsd so that it can produce a serialised persistent_t it can use to resume the VM.