diff options
author | Sean Christopherson <seanjc@google.com> | 2022-01-28 03:51:52 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-10 21:47:17 +0300 |
commit | ef2d488c652150df3c580a53f9e5d6f307e9b7e4 (patch) | |
tree | bdad630942b4950a402688e90000f4ff6393006a /drivers/pci/pci-label.c | |
parent | e27bc0440ebd145ada7e761975d8ea840e994d2f (diff) | |
download | linux-ef2d488c652150df3c580a53f9e5d6f307e9b7e4.tar.xz |
KVM: VMX: Call vmx_get_cpl() directly in handle_dr()
Use vmx_get_cpl() instead of bouncing through kvm_x86_ops.get_cpl() when
performing a CPL check on MOV DR accesses. This avoids a RETPOLINE (when
enabled), and more importantly removes a vendor reference to kvm_x86_ops
and helps pave the way for unexporting kvm_x86_ops.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220128005208.4008533-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/pci/pci-label.c')
0 files changed, 0 insertions, 0 deletions