Skip to content

Commit

Permalink
KVM: nVMX: call kvm_skip_emulated_instruction in nested_vmx_{fail,suc…
Browse files Browse the repository at this point in the history
…ceed}

... as every invocation of nested_vmx_{fail,succeed} is immediately
followed by a call to kvm_skip_emulated_instruction().  This saves
a bit of code and eliminates some silly paths, e.g. nested_vmx_run()
ended up with a goto label purely used to call and return
kvm_skip_emulated_instruction().

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>
  • Loading branch information
Sean Christopherson authored and Paolo Bonzini committed Oct 16, 2018
1 parent c37a611 commit 09abb5e
Showing 1 changed file with 91 additions and 154 deletions.
Loading

0 comments on commit 09abb5e

Please sign in to comment.