xend: Fix do_FLR() scope problem.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
Keir Fraser committed 2009-01-22 11:07:32 +00:00
1 parent 45dbcba70f
commit ea75815bab
1 file changed
+2 -2
+2 -2
View File
@@ -423,7 +423,7 @@ class XendDomain:
log.exception("Unable to recreate domain")
try:
xc.domain_pause(domid)
do_FLR(domid)
XendDomainInfo.do_FLR(domid)
xc.domain_destroy(domid)
except:
log.exception("Hard destruction of domain failed: %d" %
@@ -1264,7 +1264,7 @@ class XendDomain:
else:
try:
xc.domain_pause(int(domid))
do_FLR(int(domid))
XendDomainInfo.do_FLR(int(domid))
val = xc.domain_destroy(int(domid))
except ValueError:
raise XendInvalidDomain(domid)
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.