diff options
author | 2021-02-04 16:57:49 -0800 | |
---|---|---|
committer | 2021-03-15 04:43:21 -0400 | |
commit | 32c23c7d5275d41818807801be44cbba03045fc8 (patch) | |
tree | eb18a283ff1e1a406e6ac27d6aab2904222e0d1d /arch/x86/kvm/svm/nested.c | |
parent | KVM: x86: Move RDPMC emulation to common code (diff) | |
download | linux-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