VirtualBox

Changeset 37877 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 11, 2011 3:49:35 PM (14 years ago)
Author:
vboxsync
Message:

VMMDev: by design we should not clear the pending event flags during reboot

File:
1 edited

Legend:

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

    r37466 r37877  
    27562756    pThis->hypervisorSize = 0;
    27572757
    2758     pThis->u32HostEventFlags = 0;
    2759 
    27602758    /* re-initialize the VMMDev memory */
    27612759    if (pThis->pVMMDevRAMR3)
     
    28072805     * Clear the event variables.
    28082806     *
    2809      *   Note: The pThis->u32HostEventFlags is not cleared.
    2810      *         It is designed that way so host events do not
    2811      *         depend on guest resets.
     2807     * XXX By design we should NOT clear pThis->u32HostEventFlags because it is designed
     2808     *     that way so host events do not depend on guest resets. However, the pending
     2809     *     event flags actually _were_ cleared since ages so we mask out events from
     2810     *     clearing which we really need to survive the reset. See xtracker 5767.
    28122811     */
     2812    pThis->u32HostEventFlags    &= VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST;
    28132813    pThis->u32GuestFilterMask    = 0;
    28142814    pThis->u32NewGuestFilterMask = 0;
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