All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix TypeError when starting VMX domains
@ 2005-08-08 22:38 Arun Sharma
  2005-08-09 11:00 ` Christian Limpach
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Sharma @ 2005-08-08 22:38 UTC (permalink / raw)
  To: xen-devel


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 = {}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Fix TypeError when starting VMX domains
  2005-08-08 22:38 [PATCH] Fix TypeError when starting VMX domains Arun Sharma
@ 2005-08-09 11:00 ` Christian Limpach
  2005-08-09 20:46   ` Arun Sharma
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Limpach @ 2005-08-09 11:00 UTC (permalink / raw)
  To: Arun Sharma; +Cc: xen-devel

On 8/8/05, Arun Sharma <arun.sharma@intel.com> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Fix TypeError when starting VMX domains
  2005-08-09 11:00 ` Christian Limpach
@ 2005-08-09 20:46   ` Arun Sharma
  2005-08-09 23:42     ` Arun Sharma
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Sharma @ 2005-08-09 20:46 UTC (permalink / raw)
  To: Christian.Limpach; +Cc: xen-devel

Christian Limpach wrote:
> On 8/8/05, Arun Sharma <arun.sharma@intel.com> 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.

The real issue is that xc_vmx_build.c was not kept upto date with the 
xenstore changes. Working on it now.

	-Arun

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Fix TypeError when starting VMX domains
  2005-08-09 20:46   ` Arun Sharma
@ 2005-08-09 23:42     ` Arun Sharma
  2005-08-10  8:49       ` Christian Limpach
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Sharma @ 2005-08-09 23:42 UTC (permalink / raw)
  To: Christian.Limpach; +Cc: xen-devel

Arun Sharma wrote:
> Christian Limpach wrote:
> 
>> On 8/8/05, Arun Sharma <arun.sharma@intel.com> 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.
> 
> 
> The real issue is that xc_vmx_build.c was not kept upto date with the 
> xenstore changes. Working on it now.
> 

It's resolved by this changeset.

http://xenbits.xensource.com/ext/xen-vt-testing.hg?cmd=changeset;node=02121365cfff9cfa8e57cc37a560df5305360b58

	-Arun

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Fix TypeError when starting VMX domains
  2005-08-09 23:42     ` Arun Sharma
@ 2005-08-10  8:49       ` Christian Limpach
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Limpach @ 2005-08-10  8:49 UTC (permalink / raw)
  To: Arun Sharma; +Cc: xen-devel

On Tue, Aug 09, 2005 at 04:42:09PM -0700, Arun Sharma wrote:
> Arun Sharma wrote:
> >Christian Limpach wrote:
> >
> >>On 8/8/05, Arun Sharma <arun.sharma@intel.com> 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.
> >
> >
> >The real issue is that xc_vmx_build.c was not kept upto date with the 
> >xenstore changes. Working on it now.
> >
> 
> It's resolved by this changeset.
> 
> http://xenbits.xensource.com/ext/xen-vt-testing.hg?cmd=changeset;node=02121365cfff9cfa8e57cc37a560df5305360b58

I've applied this.  Thanks!

    christian

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-10  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 22:38 [PATCH] Fix TypeError when starting VMX domains Arun Sharma
2005-08-09 11:00 ` Christian Limpach
2005-08-09 20:46   ` Arun Sharma
2005-08-09 23:42     ` Arun Sharma
2005-08-10  8:49       ` Christian Limpach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.