]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Introduce kvm_vcpu_exit_request() helper
authorWanpeng Li <wanpengli@tencent.com>
Tue, 28 Apr 2020 06:23:26 +0000 (14:23 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 May 2020 16:26:19 +0000 (12:26 -0400)
commit7ea0b02b9934b99f6466f93fb1f479b6e5e56528
tree1614d8407f43e91f2298e74e499bdd1c88dd66cf
parent30b5e1e961d8ee31ff94b7c776b43b4696fd2035
KVM: X86: Introduce kvm_vcpu_exit_request() helper

Introduce kvm_vcpu_exit_request() helper, we need to check some conditions
before enter guest again immediately, we skip invoking the exit handler and
go through full run loop if complete fastpath but there is stuff preventing
we enter guest again immediately.

Tested-by: Haiwei Li <lihaiwei@tencent.com>
Cc: Haiwei Li <lihaiwei@tencent.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1588055009-12677-5-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h