]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
xend: Fix do_FLR() scope problem.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 23 Apr 2009 09:13:47 +0000 (10:13 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 23 Apr 2009 09:13:47 +0000 (10:13 +0100)
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
xen-unstable changeset:   19067:a92ed09b4032
xen-unstable date:        Thu Jan 22 11:07:32 2009 +0000

tools/python/xen/xend/XendDomain.py

index 8e20152a95a7d24f17789f4a50c71f89caaa4489..0d91277e07972fe8258e28b3eef57bc72e0002b8 100644 (file)
@@ -420,7 +420,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" %
@@ -1258,7 +1258,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)