mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[IA64] Fix NVRAM data cannot be saved when guest execute "reboot"
Also fix "xm reboot" instruction in Xend. Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
This commit is contained in:
1 parent
46867b9c10
commit
f563c36712
3 files changed
+11
No files matched your search
@@ -459,6 +459,7 @@ class XendDomainInfo:
|
||||
hvm_pvdrv = xc.hvm_get_param(self.domid, HVM_PARAM_CALLBACK_IRQ)
|
||||
if not hvm_pvdrv:
|
||||
code = REVERSE_DOMAIN_SHUTDOWN_REASONS[reason]
|
||||
xc.domain_destroy_hook(self.domid)
|
||||
log.info("HVM save:remote shutdown dom %d!", self.domid)
|
||||
xc.domain_shutdown(self.domid, code)
|
||||
|
||||
|
||||