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] Change vcpu_avail type to hex string when passing

To: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel][PATCH] Change vcpu_avail type to hex string when passing to xc.hvm_build()
From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Date: Wed, 20 Jan 2010 19:32:43 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Wed, 20 Jan 2010 03:33:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6CADD16F56BC954D8E28F3836FA7ED711313B8945A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <6CADD16F56BC954D8E28F3836FA7ED7112A9AB19BD@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C77C7EF2.6C32%keir.fraser@xxxxxxxxxxxxx> <6CADD16F56BC954D8E28F3836FA7ED711313B8945A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqZjwW4UET0mN5KSpS2Wu1VHVGzjgAJOuVnAAPV7MAAADCxkA==
Thread-topic: [Xen-devel][PATCH] Change vcpu_avail type to hex string when passing to xc.hvm_build()
Oh, 20826 fixes it. Thanks

-- Dongxiao

Xu, Dongxiao wrote:
> Hi Keir,
>       I'm sorry I am not familiar with C/Python inter-programming...
> Actually I have thought of this patch for a looong time on how to
> make it clean... 
> But it seems that system doesn't work correctly. I assigned 10 vcpus
> for guest, however after guest boots, it only has 8 vcpus. However it
> is correct if I assign 128 vcpus. 
> 
> Thanks!
> Dongxiao
> 
> Keir Fraser wrote:
>> On 20/01/2010 05:11, "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx> wrote:
>> 
>>> Change vcpu_avail to hex string when passing to xc.hvm_build()
>>>  - vcpu_avail is the bitmap to present the online vcpus in guest.
>>>  vcpu online/offline patchset defines its type as uint64_t, so it
>>>  could maxium support 64 vcpus. When passing parameters to
>>>  hvm_build(), change its type to str to support more vcpus per VM
>>> (ex. 128 vcpus). 
>>> 
>>> Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
>> 
>> Ugly. Try out c/s 20825 instead.
>> 
>>  -- Keir
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensou
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel