Searched hist:"8 b2fc445a7619fec55740d0a5785aae4bd1058f3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | cpuid.c | diff 8b2fc445a7619fec55740d0a5785aae4bd1058f3 Mon Mar 02 17:56:12 CST 2020 Sean Christopherson <sean.j.christopherson@intel.com> KVM: x86: Refactor CPUID 0xD.N sub-leaf entry creation
Increment the number of CPUID entries immediately after do_host_cpuid() in preparation for moving the logic into do_host_cpuid(). Handle the rare/impossible case of encountering a bogus sub-leaf by decrementing the number entries on failure.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|