aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-02-04 16:57:49 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-15 04:43:21 -0400
commit32c23c7d5275d41818807801be44cbba03045fc8 (patch)
treeeb18a283ff1e1a406e6ac27d6aab2904222e0d1d /arch/x86/kvm/svm/nested.c
parentKVM: x86: Move RDPMC emulation to common code (diff)
downloadlinux-dev-32c23c7d5275d41818807801be44cbba03045fc8.tar.xz
linux-dev-32c23c7d5275d41818807801be44cbba03045fc8.zip
KVM: SVM: Don't manually emulate RDPMC if nrips=0
Remove bizarre code that causes KVM to run RDPMC through the emulator when nrips is disabled. Accelerated emulation of RDPMC doesn't rely on any additional data from the VMCB, and SVM has generic handling for updating RIP to skip instructions when nrips is disabled. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210205005750.3841462-9-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions