* RE: [PATCH] [VT] Fix for python breakge
@ 2005-10-21 20:35 Kamble, Nitin A
2005-10-22 2:55 ` Ted Kaczmarek
0 siblings, 1 reply; 5+ messages in thread
From: Kamble, Nitin A @ 2005-10-21 20:35 UTC (permalink / raw)
To: Khoa Huynh; +Cc: Ian Pratt, xen-devel, Li, Xin B, xen-devel-bounces
Xin's patch is making vcpus argument mandatory. This is not right. Xin
can you fix your patch to make it optinal?
Thanks & Regards,
Nitin
------------------------------------------------------------------------
-----------
Open Source Technology Center, Intel Corp
>-----Original Message-----
>From: Khoa Huynh [mailto:khoa@us.ibm.com]
>Sent: Friday, October 21, 2005 10:16 AM
>To: Kamble, Nitin A
>Cc: Keir Fraser; Ian Pratt; xen-devel; xen-devel-
>bounces@lists.xensource.com; Li, Xin B
>Subject: Re: [Xen-devel] [PATCH] [VT] Fix for python breakge
>
>I think this patch was included in a patch submitted by Xin Li a couple
>days ago. I applied Li's patch and it fixed the problem for me.
>Thanks.
>
>Regards,
>
>Khoa
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] [VT] Fix for python breakge
2005-10-21 20:35 [PATCH] [VT] Fix for python breakge Kamble, Nitin A
@ 2005-10-22 2:55 ` Ted Kaczmarek
0 siblings, 0 replies; 5+ messages in thread
From: Ted Kaczmarek @ 2005-10-22 2:55 UTC (permalink / raw)
To: Kamble, Nitin A
Cc: Khoa Huynh, xen-devel-bounces, xen-devel, Li, Xin B, Ian Pratt
On Fri, 2005-10-21 at 13:35 -0700, Kamble, Nitin A wrote:
> Xin's patch is making vcpus argument mandatory. This is not right. Xin
> can you fix your patch to make it optinal?
>
> Thanks & Regards,
> Nitin
> ------------------------------------------------------------------------
> -----------
> Open Source Technology Center, Intel Corp
>
> >-----Original Message-----
> >From: Khoa Huynh [mailto:khoa@us.ibm.com]
> >Sent: Friday, October 21, 2005 10:16 AM
> >To: Kamble, Nitin A
> >Cc: Keir Fraser; Ian Pratt; xen-devel; xen-devel-
> >bounces@lists.xensource.com; Li, Xin B
> >Subject: Re: [Xen-devel] [PATCH] [VT] Fix for python breakge
> >
> >I think this patch was included in a patch submitted by Xin Li a couple
> >days ago. I applied Li's patch and it fixed the problem for me.
> >Thanks.
> >
> >Regards,
> >
> >Khoa
> >
I posted something on this in my other post as well, optional is bad,
declaring everything may be a one time pain, but over the long haul it
is less problematic.
IMHO
Regards,
Ted
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] [VT] Fix for python breakge
@ 2005-10-21 23:19 Li, Xin B
0 siblings, 0 replies; 5+ messages in thread
From: Li, Xin B @ 2005-10-21 23:19 UTC (permalink / raw)
To: Kamble, Nitin A, Khoa Huynh; +Cc: Ian Pratt, xen-devel, xen-devel-bounces
Ok, I will do that.
-Xin
>-----Original Message-----
>From: Kamble, Nitin A
>Sent: 2005年10月22日 4:35
>To: Khoa Huynh
>Cc: Keir Fraser; Ian Pratt; xen-devel;
>xen-devel-bounces@lists.xensource.com; Li, Xin B
>Subject: RE: [Xen-devel] [PATCH] [VT] Fix for python breakge
>
>Xin's patch is making vcpus argument mandatory. This is not
>right. Xin can you fix your patch to make it optinal?
>
>Thanks & Regards,
>Nitin
>---------------------------------------------------------------
>--------------------
>Open Source Technology Center, Intel Corp
>
>>-----Original Message-----
>>From: Khoa Huynh [mailto:khoa@us.ibm.com]
>>Sent: Friday, October 21, 2005 10:16 AM
>>To: Kamble, Nitin A
>>Cc: Keir Fraser; Ian Pratt; xen-devel; xen-devel-
>>bounces@lists.xensource.com; Li, Xin B
>>Subject: Re: [Xen-devel] [PATCH] [VT] Fix for python breakge
>>
>>I think this patch was included in a patch submitted by Xin
>Li a couple
>>days ago. I applied Li's patch and it fixed the problem for me.
>>Thanks.
>>
>>Regards,
>>
>>Khoa
>>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] [VT] Fix for python breakge
@ 2005-10-21 0:31 Kamble, Nitin A
2005-10-21 17:15 ` Khoa Huynh
0 siblings, 1 reply; 5+ messages in thread
From: Kamble, Nitin A @ 2005-10-21 0:31 UTC (permalink / raw)
To: Keir Fraser, Ian Pratt; +Cc: xen-devel, Li, Xin B
Keir, Ian,
The VMX builder python code is broken due to recent changes.
It gives this error while trying to start a VMX guest:
"Error: Error creating domain: function takes exactly 7 arguments (6 given)"
This patch to xen-upstream fixes the issue.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
diff -r 7c951e3eb5ab4ab0a6de33a8f831c828d16b1ad4 tools/python/xen/lowlevel/xc/xc.c
--- a/tools/python/xen/lowlevel/xc/xc.c Wed Oct 19 10:53:00 2005
+++ b/tools/python/xen/lowlevel/xc/xc.c Wed Oct 19 15:44:26 2005
@@ -426,7 +426,7 @@
static char *kwd_list[] = { "dom", "control_evtchn", "store_evtchn",
"memsize", "image", "flags", "vcpus", NULL };
- if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiisii", kwd_list,
+ if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiis|ii", kwd_list,
&dom, &control_evtchn, &store_evtchn,
&memsize, &image, &flags, &vcpus) )
return NULL;
Thanks & Regards,
Nitin
--------------------------------------------------------------------------
Open Source Technology Center, Intel Corp
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] [VT] Fix for python breakge
2005-10-21 0:31 Kamble, Nitin A
@ 2005-10-21 17:15 ` Khoa Huynh
0 siblings, 0 replies; 5+ messages in thread
From: Khoa Huynh @ 2005-10-21 17:15 UTC (permalink / raw)
To: Kamble, Nitin A; +Cc: Ian Pratt, xen-devel, Li, Xin B, xen-devel-bounces
"Kamble, Nitin A" <nitin.a.kamble@intel.com> wrote on 10/20/2005 07:31:45
PM:
> Keir, Ian,
>
> The VMX builder python code is broken due to recent changes.
> It gives this error while trying to start a VMX guest:
> "Error: Error creating domain: function takes exactly 7 arguments (6
given)"
>
> This patch to xen-upstream fixes the issue.
>
> Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
> diff -r 7c951e3eb5ab4ab0a6de33a8f831c828d16b1ad4
> tools/python/xen/lowlevel/xc/xc.c
> --- a/tools/python/xen/lowlevel/xc/xc.c Wed Oct 19 10:53:00 2005
> +++ b/tools/python/xen/lowlevel/xc/xc.c Wed Oct 19 15:44:26 2005
> @@ -426,7 +426,7 @@
> static char *kwd_list[] = { "dom", "control_evtchn", "store_evtchn",
> "memsize", "image", "flags", "vcpus",
NULL };
>
> - if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiisii", kwd_list,
> + if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iiiis|ii", kwd_list,
> &dom, &control_evtchn,
&store_evtchn,
> &memsize, &image, &flags, &vcpus)
)
> return NULL;
I think this patch was included in a patch submitted by Xin Li a couple
days ago. I applied Li's patch and it fixed the problem for me.
Thanks.
Regards,
Khoa
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-22 2:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 20:35 [PATCH] [VT] Fix for python breakge Kamble, Nitin A
2005-10-22 2:55 ` Ted Kaczmarek
-- strict thread matches above, loose matches on Subject: below --
2005-10-21 23:19 Li, Xin B
2005-10-21 0:31 Kamble, Nitin A
2005-10-21 17:15 ` Khoa Huynh
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.