[libvirt] PATCH: Fix KVM maximum vCPU count

Cole Robinson crobinso at redhat.com
Wed May 14 13:32:54 UTC 2008


Daniel P. Berrange wrote:
> On Wed, May 14, 2008 at 11:23:08AM +0900, Atsushi SAKAI wrote:
>> Hi, Dan
>>
>> Thank you for commenting.
>> Of course, I agree your point 
>> and that you are commiting it.
>>
>> I am commenting it 
>> just because 2 month is not old ago in my feeling.
>>
>>
>> Here Is the memo for my understanding.
>> (Since I am not familiar with KVM)
>> 2007/07/19 kvm-30 Guest SMP support
>>      (Parameter(KVM_MAX_VCPUS) changes from 1 to 4 in KVM-28)
>> 2008/02/26 kvm-62 VCPUS changes 4 to 16
> 
> I didn't realize it had changed from 4 -> 16 cpus so recently. I thought
> we'd gone straight from 1 -> 16.  With this in mind, it is worth trying
> to decide a way to detect it right now.
> 
> Dan.

I actually have a patch mostly complete that pulls the kvm version from
qemu-kvm similar to how we grab the version from the qemu binary. I can
clean it up and post it if that seems like the way to go.

- Cole




More information about the libvir-list mailing list