Skip to contentSkip to conversation

xend: Fix do_FLR() scope problem

PATCH New Yosuke Iwamatsu 1 participant 1 message Jan 22, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xend: Fix do_FLR() scope problem

do_FLR() in XendDomainInfo.py is not directly accessible from XendDomain.py.

Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation

xend: Fix do_FLR() scope problem.

tools/python/xen/xend/XendDomain.py +2 -2
diff -r 8df3c145923f tools/python/xen/xend/XendDomain.py
@@ -423,7 +423,7 @@
                     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 @@
         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)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel