KVM: x86: remove duplicated KVM_REQ_EVENT request
PATCH v2 1/1 KVM: x86: remove duplicated KVM_REQ_EVENT request
From: Miaohe Lin <[email protected]>
The KVM_REQ_EVENT request is already made in kvm_set_rflags(). We should not make it again.
Signed-off-by Miaohe Lin <[email protected]>
Reviewed-by Vitaly Kuznetsov <[email protected]>
---v1->v2:
Collected Vitaly's R-b
--- arch/x86/kvm/x86.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/kvm/x86.c +0 -1
@@ -8942,7 +8942,6 @@ int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index,kvm_rip_write (vcpu, ctxt->eip);kvm_set_rflags (vcpu, ctxt->eflags); -kvm_make_request (KVM_REQ_EVENT , vcpu);return 1 ; }EXPORT_SYMBOL_GPL (kvm_task_switch);
Signature · 1 line
2.19.1
Quoted 20 lines · linmiaohe
From: Miaohe Lin <[email protected]>
The
KVM_REQ_EVENTrequest is already made inkvm_set_rflags(). We should not make it again.Signed-off-by Miaohe Lin <[email protected]>Reviewed-by Vitaly Kuznetsov <[email protected]>---
v1->v2:
Collected Vitaly's R-b--- arch/x86/kvm/x86.c | 1 - 1 file changed, 1 deletion(-)arch/x86/kvm/x86.c +0
-0
arch/x86/kvm/x86.c int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index, · line 8947
Quoted 7 lines
arch/x86/kvm/x86.c +0
-1@@ -8942,7 +8942,6 @@ int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index,kvm_rip_write (vcpu, ctxt->eip);kvm_set_rflags (vcpu, ctxt->eflags); -kvm_make_request (KVM_REQ_EVENT , vcpu);return 1 ; }EXPORT_SYMBOL_GPL (kvm_task_switch);
Queued, thanks.
Paolo