Changeset 51934 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp
- Timestamp:
- Jul 8, 2014 2:35:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r49893 r51934 2551 2551 rc = VMR3WaitHalted(pVM, pVCpu, false /*fIgnoreInterrupts*/); 2552 2552 if ( rc == VINF_SUCCESS 2553 && VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC)) 2553 && VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC 2554 | VMCPU_FF_INTERRUPT_NMI | VMCPU_FF_INTERRUPT_SMI)) 2554 2555 { 2555 2556 Log(("EMR3ExecuteVM: Triggering reschedule on pending IRQ after MWAIT\n")); … … 2558 2559 } 2559 2560 else 2561 { 2560 2562 rc = VMR3WaitHalted(pVM, pVCpu, !(CPUMGetGuestEFlags(pVCpu) & X86_EFL_IF)); 2563 if ( rc == VINF_SUCCESS 2564 && VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_NMI | VMCPU_FF_INTERRUPT_SMI)) 2565 { 2566 Log(("EMR3ExecuteVM: Triggering reschedule on pending NMI/SMI after HLT\n")); 2567 rc = VINF_EM_RESCHEDULE; 2568 } 2569 } 2561 2570 2562 2571 STAM_REL_PROFILE_STOP(&pVCpu->em.s.StatHalted, y);
Note:
See TracChangeset
for help on using the changeset viewer.