nVMX: Add helper to get first supported INVVPID type
Deduplicate some clever/interesting code for retrieving the first supported INVVPID type, and opportunistically avoid RDMSR on every test. Signed-off-by:Sean Christopherson <seanjc@google.com> Message-Id: <20211125012857.508243-32-seanjc@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Loading
Please register or sign in to comment