mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: Fix do_FLR() scope problem.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
1 parent
45dbcba70f
commit
ea75815bab
1 file changed
+2
-2
@@ -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)
|
||||
|
||||