Re: [PATCH 3/3] KVM: x86: bump KVM_MAX_CPUID_ENTRIES

2020-10-05 Thread Maxim Levitsky
On Thu, 2020-10-01 at 15:05 +0200, Vitaly Kuznetsov wrote: > As vcpu->arch.cpuid_entries is now allocated dynamically, the only > remaining use for KVM_MAX_CPUID_ENTRIES is to check KVM_SET_CPUID/ > KVM_SET_CPUID2 input for sanity. Since it was reported that the > current limit (80) is

[PATCH 3/3] KVM: x86: bump KVM_MAX_CPUID_ENTRIES

2020-10-01 Thread Vitaly Kuznetsov
As vcpu->arch.cpuid_entries is now allocated dynamically, the only remaining use for KVM_MAX_CPUID_ENTRIES is to check KVM_SET_CPUID/ KVM_SET_CPUID2 input for sanity. Since it was reported that the current limit (80) is insufficient for some CPUs, bump KVM_MAX_CPUID_ENTRIES and use an arbitrary