Changeset 60716 in vbox for trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
- Timestamp:
- Apr 27, 2016 1:11:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r60574 r60716 2670 2670 uint8_t u8Interrupt; 2671 2671 int rc = PDMGetInterrupt(pVCpu, &u8Interrupt); 2672 if ( RT_SUCCESS(rc))2672 if (rc == VINF_SUCCESS) 2673 2673 { 2674 2674 Log4(("Injecting external interrupt u8Interrupt=%#x\n", u8Interrupt)); … … 2680 2680 hmR0SvmSetPendingEvent(pVCpu, &Event, 0 /* GCPtrFaultAddress */); 2681 2681 } 2682 else if (rc == VERR_APIC_INTR_MASKED_BY_TPR) 2683 { 2684 /* 2685 * AMD-V has no TPR thresholding feature. We just avoid posting the interrupt. 2686 * We just avoid delivering the TPR-masked interrupt here. TPR will be updated 2687 * always via hmR0SvmLoadGuestState() -> hmR0SvmLoadGuestApicState(). 2688 */ 2689 Assert(!VMCPU_FF_IS_PENDING(pVCpu, (VMCPU_FF_INTERRUPT_APIC))); 2690 } 2682 2691 else 2683 2692 { 2684 /* This can happen with the new APIC code. */2685 #ifndef VBOX_WITH_NEW_APIC2686 2693 Assert(!VMCPU_FF_IS_PENDING(pVCpu, (VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC))); 2687 #endif2688 2694 STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchGuestIrq); 2689 2695 }
Note:
See TracChangeset
for help on using the changeset viewer.