commit | 0eee8f9d9d3b2838fdd383328129df524cea4ba7 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Mon Mar 02 15:56:21 2020 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:58:07 2020 +0100 |
tree | 615e82221e2aabd843b3547aea1fff268955e8af | |
parent | 695538aa21c057578a0c70e1aa22fd97fd407930 [diff] |
KVM: x86: Use common loop iterator when handling CPUID 0xD.N Use __do_cpuid_func()'s common loop iterator, "i", when enumerating the sub-leafs for CPUID 0xD now that the CPUID 0xD loop doesn't need to manual maintain separate counts for the entries index and CPUID index. No functional changed intended. 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>