提交 9fb41ba8 编写于 作者: M Marcelo Tosatti 提交者: Avi Kivity

KVM: VMX: fix handle_pause declaration

There's no kvm_run argument anymore.
Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
上级 6b7d7e76
...@@ -3387,7 +3387,7 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu) ...@@ -3387,7 +3387,7 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu)
* Indicate a busy-waiting vcpu in spinlock. We do not enable the PAUSE * Indicate a busy-waiting vcpu in spinlock. We do not enable the PAUSE
* exiting, so only get here on cpu with PAUSE-Loop-Exiting. * exiting, so only get here on cpu with PAUSE-Loop-Exiting.
*/ */
static int handle_pause(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) static int handle_pause(struct kvm_vcpu *vcpu)
{ {
skip_emulated_instruction(vcpu); skip_emulated_instruction(vcpu);
kvm_vcpu_on_spin(vcpu); kvm_vcpu_on_spin(vcpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册