From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Sharma Subject: [PATCH] Fix TypeError when starting VMX domains Date: Mon, 08 Aug 2005 15:38:18 -0700 Message-ID: <42F7DEDA.4000400@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: xen-devel@lists.xenproject.org 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 = {}