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,
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
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,