]> git.dujemihanovic.xyz Git - linux.git/commit
KVM: x86: Export the number of uret MSRs to vendor modules
authorSean Christopherson <seanjc@google.com>
Tue, 4 May 2021 17:17:31 +0000 (10:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:18 +0000 (06:06 -0400)
commit9cc39a5a43c05f8eda206bf9e144119820ecf5c8
treec36f674f5a3dbbf08d22f4c39e5e197971bc9906
parent5e17c624010a82bbcca9b955155781927eb6532a
KVM: x86: Export the number of uret MSRs to vendor modules

Split out and export the number of configured user return MSRs so that
VMX can iterate over the set of MSRs without having to do its own tracking.
Keep the list itself internal to x86 so that vendor code still has to go
through the "official" APIs to add/modify entries.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210504171734.1434054-13-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c