Re: [PATCH 5/5] KVM: cpuid: remove has_leaf_count from struct kvm_cpuid_param

2019-07-10 Thread Paolo Bonzini
On 08/07/19 09:09, Jing Liu wrote: > It seems the two func are introduced by 2b5e97e, as paravirtual cpuid. > But when searching KVM_CPUID_SIGNATURE, there seems no caller requesting > this cpuid. Meanwhile, I felt curious if KVM_CPUID_FEATURES is still in > use but it seems kvm_update_cpuid()

Re: [PATCH 5/5] KVM: cpuid: remove has_leaf_count from struct kvm_cpuid_param

2019-07-08 Thread Jing Liu
Hi Paolo, On 7/4/2019 10:07 PM, Paolo Bonzini wrote: The has_leaf_count member was originally added for KVM's paravirtualization CPUID leaves. However, since then the leaf count _has_ been added to those leaves as well, so we can drop that special case. Signed-off-by: Paolo Bonzini [...]

[PATCH 5/5] KVM: cpuid: remove has_leaf_count from struct kvm_cpuid_param

2019-07-04 Thread Paolo Bonzini
The has_leaf_count member was originally added for KVM's paravirtualization CPUID leaves. However, since then the leaf count _has_ been added to those leaves as well, so we can drop that special case. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/cpuid.c | 11 +++ 1 file changed, 3