Re: [Patch 3] thread/core siblings info for guests

2008-11-17 Thread Nitin A Kamble
On Sun, 2008-11-16 at 05:26 -0800, Avi Kivity wrote: Kamble, Nitin A wrote: The capability itself can return the count; for example case KVM_CAP_NR_CPUID_LEAVES: return KVM_MAX_CPUID_ENTRIES; which is simpler to use and shorter. Avi, Yes, it is simpler and shorter,

RE: [Patch 3] thread/core siblings info for guests

2008-11-06 Thread Kamble, Nitin A
The capability itself can return the count; for example case KVM_CAP_NR_CPUID_LEAVES: return KVM_MAX_CPUID_ENTRIES; which is simpler to use and shorter. Avi, Yes, it is simpler and shorter, but is returning a constant. It will be wasting space for the unused entries. Also it put's a

[Patch 3] thread/core siblings info for guests

2008-11-05 Thread Nitin A Kamble
Hi Avi, This patch cover's the kernel ABI change as we discussed in the earlier email. Patch Description: Change the ioctl KVM_GET_SUPPORTED_CPUID, such that it will return the no of entries in the list when requested no of entries (nent) is 0. Also add another KVM_CHECK_EXTENSION,