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

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

To: Arun Sharma <arun.sharma@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix TypeError when starting VMX domains
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42F7DEDA.4000400@xxxxxxxxx>
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>
References: <42F7DEDA.4000400@xxxxxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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