mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
HVM: First attempt at domain-resume on save-failure.
Not working yet as we are a bit too keen to kill the qemu-dm process, before we know that the save has been successful. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
40bb2e5fea
commit
a01197aeb4
6 files changed
+109
-58
No files matched your search
@@ -284,14 +284,16 @@ class HVMImageHandler(ImageHandler):
|
||||
log.debug("acpi = %d", self.acpi)
|
||||
log.debug("apic = %d", self.apic)
|
||||
|
||||
return xc.hvm_build(domid = self.vm.getDomid(),
|
||||
image = self.kernel,
|
||||
store_evtchn = store_evtchn,
|
||||
memsize = mem_mb,
|
||||
vcpus = self.vm.getVCpuCount(),
|
||||
pae = self.pae,
|
||||
acpi = self.acpi,
|
||||
apic = self.apic)
|
||||
rc = xc.hvm_build(domid = self.vm.getDomid(),
|
||||
image = self.kernel,
|
||||
store_evtchn = store_evtchn,
|
||||
memsize = mem_mb,
|
||||
vcpus = self.vm.getVCpuCount(),
|
||||
pae = self.pae,
|
||||
acpi = self.acpi,
|
||||
apic = self.apic)
|
||||
rc['notes'] = { 'SUSPEND_CANCEL': 1 }
|
||||
return rc
|
||||
|
||||
# Return a list of cmd line args to the device models based on the
|
||||
# xm config file
|
||||
|
||||