Skip to content

Commit 868a32f

Browse files
Longpeng(Mike)bonzini
authored andcommitted
kvm: x86: remove the misleading comment in vmx_handle_external_intr
Since Paolo has removed irq-enable-operation in vmx_handle_external_intr (KVM: x86: use guest_exit_irqoff), the original comment about the IF bit in rflags is incorrect and stale now, so remove it. Signed-off-by: Longpeng(Mike) <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
1 parent b5f5fdc commit 868a32f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/kvm/vmx.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8510,11 +8510,6 @@ static void vmx_handle_external_intr(struct kvm_vcpu *vcpu)
85108510
u32 exit_intr_info = vmcs_read32(VM_EXIT_INTR_INFO);
85118511
register void *__sp asm(_ASM_SP);
85128512

8513-
/*
8514-
* If external interrupt exists, IF bit is set in rflags/eflags on the
8515-
* interrupt stack frame, and interrupt will be enabled on a return
8516-
* from interrupt handler.
8517-
*/
85188513
if ((exit_intr_info & (INTR_INFO_VALID_MASK | INTR_INFO_INTR_TYPE_MASK))
85198514
== (INTR_INFO_VALID_MASK | INTR_TYPE_EXT_INTR)) {
85208515
unsigned int vector;

0 commit comments

Comments
 (0)