WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix TypeError when starting VMX domains

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix TypeError when starting VMX domains
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Mon, 08 Aug 2005 15:38:18 -0700
Delivery-date: Mon, 08 Aug 2005 22:36:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

The attached patch fixes this traceback:

Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 510, in construct
    self.construct_image()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 574, in construct_image
    self.store_channel)
File "/usr/lib/python/xen/xend/xenstore/xsobj.py", line 310, in introduceDomain log.info("DBMap>introduceDomain> %d %d %s %s" %(dom, page, evtchn, path))
TypeError: int argument required

--- a/tools/python/xen/xend/XendDomainInfo.py   Mon Aug  8 20:22:16 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Mon Aug  8 15:00:19 2005
@@ -239,7 +239,7 @@

         self.channel = None
         self.store_channel = None
-        self.store_mfn = None
+        self.store_mfn = 0
         self.controllers = {}



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>