diff options
author | Kyle Huey <me@kylehuey.com> | 2016-11-29 12:40:39 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-12-08 15:31:04 +0100 |
commit | eb2775621701e6ee3ea2a474437d04e93ccdcb2f (patch) | |
tree | 8fc49dc116f75a2e045c9b39dbdf425e59a8ca7d /arch/x86/kvm/svm.c | |
parent | 09ca3f20492fb0b03060b56a47afa211476740a8 (diff) | |
download | op-kernel-dev-eb2775621701e6ee3ea2a474437d04e93ccdcb2f.zip op-kernel-dev-eb2775621701e6ee3ea2a474437d04e93ccdcb2f.tar.gz |
KVM: VMX: Move skip_emulated_instruction out of nested_vmx_check_vmcs12
We can't return both the pass/fail boolean for the vmcs and the upcoming
continue/exit-to-userspace boolean for skip_emulated_instruction out of
nested_vmx_check_vmcs, so move skip_emulated_instruction out of it instead.
Additionally, VMENTER/VMRESUME only trigger singlestep exceptions when
they advance the IP to the following instruction, not when they a) succeed,
b) fail MSR validation or c) throw an exception. Add a separate call to
skip_emulated_instruction that will later not be converted to the variant
that checks the singlestep flag.
Signed-off-by: Kyle Huey <khuey@kylehuey.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions