mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
ia64, xend: Close nvram file when rebooting HVM domain
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
1a0a31cbc6
commit
05fcdea668
1 file changed
+1
-2
@@ -1880,8 +1880,6 @@ class XendDomainInfo:
|
||||
|
||||
self._cleanupVm()
|
||||
if self.dompath is not None:
|
||||
if self.domid is not None:
|
||||
xc.domain_destroy_hook(self.domid)
|
||||
self.destroyDomain()
|
||||
|
||||
self._cleanup_phantom_devs(paths)
|
||||
@@ -1899,6 +1897,7 @@ class XendDomainInfo:
|
||||
|
||||
try:
|
||||
if self.domid is not None:
|
||||
xc.domain_destroy_hook(self.domid)
|
||||
xc.domain_destroy(self.domid)
|
||||
for state in DOM_STATES_OLD:
|
||||
self.info[state] = 0
|
||||
|
||||