commit | 1b4d56b86a370a3785a33eba23e2e3009f5a03af | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Sat Aug 05 00:12:50 2017 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Aug 07 16:16:30 2017 +0200 |
tree | 5aa5f21a98a2127c47a54b17a3404cf277afeda6 | |
parent | d6321d493319bfd406c484e8359c6101cbda39d3 [diff] |
KVM: x86: use general helpers for some cpuid manipulation Add guest_cpuid_clear() and use it instead of kvm_find_cpuid_entry(). Also replace some uses of kvm_find_cpuid_entry() with guest_cpuid_has(). Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>