ia64/xen-unstable

changeset 19068:a92ed09b4032

xend: Fix do_FLR() scope problem.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 22 11:07:32 2009 +0000 (2009-01-22)
parents a37267e43365
children 97228980cd04
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Thu Jan 22 11:05:54 2009 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Thu Jan 22 11:07:32 2009 +0000
     1.3 @@ -423,7 +423,7 @@ class XendDomain:
     1.4                      log.exception("Unable to recreate domain")
     1.5                      try:
     1.6                          xc.domain_pause(domid)
     1.7 -                        do_FLR(domid)
     1.8 +                        XendDomainInfo.do_FLR(domid)
     1.9                          xc.domain_destroy(domid)
    1.10                      except:
    1.11                          log.exception("Hard destruction of domain failed: %d" %
    1.12 @@ -1264,7 +1264,7 @@ class XendDomain:
    1.13          else:
    1.14              try:
    1.15                  xc.domain_pause(int(domid))
    1.16 -                do_FLR(int(domid))
    1.17 +                XendDomainInfo.do_FLR(int(domid))
    1.18                  val = xc.domain_destroy(int(domid))
    1.19              except ValueError:
    1.20                  raise XendInvalidDomain(domid)