diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-04-10 10:47:02 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-21 09:13:09 -0400 |
commit | 873e1da16918a83cc7440e299dda0dc7ab6db34c (patch) | |
tree | e09b50fd9340a143bc6c007fc97dcdbd35a913fe /arch/x86/kvm/x86.c | |
parent | b8d295f96b6c9745d7eebee622690e0e835c63af (diff) |
KVM: VMX: Optimize handling of VM-Entry failures in vmx_vcpu_run()
Mark the VM-Fail, VM-Exit on VM-Enter, and #MC on VM-Enter paths as
'unlikely' so as to improve code generation so that it favors successful
VM-Enter. The performance of successful VM-Enter is for more important,
irrespective of whether or not success is actually likely.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200410174703.1138-2-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions