[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Arun Sharma <arun.sharma@xxxxxxxxx>
  • From: Christian Limpach <christian.limpach@xxxxxxxxx>
  • Date: Tue, 9 Aug 2005 12:00:40 +0100
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 09 Aug 2005 10:59:01 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mRshx4G0ZXFhTtf5ZSepGKx21qbd7tMP5wSzG61M6jLznPaDQ+0dBfNo4qL4VG4LTaUjynNA6yVDoTuZo70oks9amUohGUVSusOgoaYkeUdDx03pzZcoMrcpNVH/WP/MA56yfgsIl5NDIHqQqO4Hwhr9CeuwA2NGI5eMlpl8lmY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 8/8/05, Arun Sharma <arun.sharma@xxxxxxxxx> wrote:
> 
> The attached patch fixes this traceback:

When does this happen?  It seems that the fix will only hide the real
cause of the failure and I'd rather fix the underlying bug.  It's odd
that we have initialized the store_channel but not figured out what
the store_mfn is.

    christian

> 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
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.