commit | aceac6e5700f4bdfb35fd558ae60176be24aa482 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Mon Mar 02 15:56:14 2020 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:58:02 2020 +0100 |
tree | 7270468ef1da5663d7a708993dd83f3be1d8056b | |
parent | 87849b1ccbd404eff78b54d8e4dd831e4a905cbb [diff] |
KVM: x86: Drop the explicit @index from do_cpuid_7_mask() Drop the index param from do_cpuid_7_mask() and instead switch on the entry's index, which is guaranteed to be set by do_host_cpuid(). No functional change 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>