From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yosuke Iwamatsu Subject: [PATCH] xend: Fix do_FLR() scope problem Date: Thu, 22 Jan 2009 19:55:23 +0900 Message-ID: <4978509B.9000503@ab.jp.nec.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080506010304040405070408" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------080506010304040405070408 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit do_FLR() in XendDomainInfo.py is not directly accessible from XendDomain.py. Regards, ----------------------- Yosuke Iwamatsu NEC Corporation Signed-off-by: Yosuke Iwamatsu --------------080506010304040405070408 Content-Type: all/allfiles; name="xend_flr_scope.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xend_flr_scope.patch" xend: Fix do_FLR() scope problem. Signed-off-by: Yosuke Iwamatsu diff -r 8df3c145923f tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Mon Jan 19 17:40:28 2009 +0000 +++ b/tools/python/xen/xend/XendDomain.py Tue Jan 20 20:12:30 2009 +0900 @@ -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) --------------080506010304040405070408 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------080506010304040405070408--