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

RE: [Xen-devel][PATCH] Change vcpu_avail type to hex string when passing to xc.hvm_build()



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.xensource.com/xen-devel


 


Rackspace

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