VirtualBox

Changeset 5447 in vbox


Ignore:
Timestamp:
Oct 23, 2007 4:01:08 PM (17 years ago)
Author:
vboxsync
Message:

Bugfix for rare cases where a pending interrupt is cleared behind our back

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r5073 r5447  
    214214            else
    215215            {
    216                 /* can't happen... */
    217                 AssertFailed();
     216                /* Can only happen in rare cases where a pending interrupt is cleared behind our back */
     217                Assert(!VM_FF_ISPENDING(pVM, (VM_FF_INTERRUPT_APIC|VM_FF_INTERRUPT_PIC)));
    218218                STAM_COUNTER_INC(&pVM->hwaccm.s.StatSwitchGuestIrq);
    219                 return VINF_EM_RAW_INTERRUPT_PENDING;
     219                /* Just continue */
    220220            }
    221221        }
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r5073 r5447  
    370370            else
    371371            {
    372                 /* can't happen... */
    373                 AssertFailed();
     372                /* Can only happen in rare cases where a pending interrupt is cleared behind our back */
     373                Assert(!VM_FF_ISPENDING(pVM, (VM_FF_INTERRUPT_APIC|VM_FF_INTERRUPT_PIC)));
    374374                STAM_COUNTER_INC(&pVM->hwaccm.s.StatSwitchGuestIrq);
    375                 return VINF_EM_RAW_INTERRUPT_PENDING;
     375                /* Just continue */
    376376            }
    377377        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette