VirtualBox

Changeset 13270 in vbox for trunk/src


Ignore:
Timestamp:
Oct 14, 2008 4:20:28 PM (16 years ago)
Author:
vboxsync
Message:

Deliver event notifications to the guest only when the VM is running (xtracker 3236).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r12977 r13270  
    264264
    265265    Log3(("VMMDevNotifyGuest: u32EventMask = 0x%08X.\n", u32EventMask));
     266
     267    /*
     268     * Drop notifications if the VM is not running yet/anymore.
     269     */
     270    if (PDMDevHlpVMState(pDevIns) != VMSTATE_RUNNING)
     271        return;
    266272
    267273    /* No need to wait for the completion of this request. It is a notification
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