KVM: lapic: Use guest_cpuid_has() in kvm_apic_set_version()
authorXiaoyao Li <xiaoyao.li@intel.com>
Wed, 8 Jul 2020 06:50:53 +0000 (14:50 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jul 2020 20:22:01 +0000 (16:22 -0400)
commit565b7820738a1d764879e1b1b85f485aa028287a
treea0752b952283f14efc97797f9b1bc4a2f62bbd3a
parent0d3b2ba16ba68612142399e1801e6aff3f184d3e
KVM: lapic: Use guest_cpuid_has() in kvm_apic_set_version()

Only code cleanup and no functional change.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20200708065054.19713-8-xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c