ia64, xend: Close nvram file when rebooting HVM domain

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2007-12-12 10:08:54 +00:00
1 parent 1a0a31cbc6
commit 05fcdea668
1 file changed
+1 -2
+1 -2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.