summaryrefslogtreecommitdiff
path: root/fs/hfs
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-09-26 09:23:53 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-17 00:29:57 +0200
commitcb61de2f4819b248dfb3f1380e046ab1276c5227 (patch)
tree2636dff821e48c38e1ebffb9c890857bc733946c /fs/hfs
parent16fb9a46c54d1617dbc9b6baf0538abf9c004421 (diff)
KVM: nVMX: do not skip VMEnter instruction that succeeds
A successful VMEnter is essentially a fancy indirect branch that pulls the target RIP from the VMCS. Skipping the instruction is unnecessary (RIP will get overwritten by the VMExit handler) and is problematic because it can incorrectly suppress a #DB due to EFLAGS.TF when a VMFail is detected by hardware (happens after we skip the instruction). Now that vmx_nested_run() is not prematurely skipping the instr, use the full kvm_skip_emulated_instruction() in the VMFail path of nested_vmx_vmexit(). We also need to explicitly update the GUEST_INTERRUPTIBILITY_INFO when loading vmcs12 host state. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions