VirtualBox

Changeset 78995 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Jun 5, 2019 1:30:45 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131127
Message:

PDM, Devices, FE, Main: allow size hints without notification for initial hints.
bugref:9482: FE/Qt and Additions/WINNT: move away from -adjust size if...-
This change allows size hints/monitor information to be set in a machine
without generating an IRQ notification, for the purpose of setting the
initial monitor information. It also uses the function for that purpose.

File:
1 edited

Legend:

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

    r78949 r78995  
    35703570 */
    35713571static DECLCALLBACK(int)
    3572 vmmdevIPort_RequestDisplayChange(PPDMIVMMDEVPORT pInterface, uint32_t cDisplays, VMMDevDisplayDef const *paDisplays, bool fForce)
     3572vmmdevIPort_RequestDisplayChange(PPDMIVMMDEVPORT pInterface, uint32_t cDisplays, VMMDevDisplayDef const *paDisplays, bool fForce, bool fMayNotify)
    35733573{
    35743574    int rc = VINF_SUCCESS;
     
    36043604        /* We could validate the information here but hey, the guest can do that as well! */
    36053605        pRequest->displayChangeRequest = *p;
    3606         pRequest->fPending = fDifferentResolution;
     3606        pRequest->fPending = fDifferentResolution && fMayNotify;
    36073607
    36083608        fNotifyGuest = fNotifyGuest || fDifferentResolution;
    36093609    }
    36103610
    3611     if (RT_SUCCESS(rc))
     3611    if (RT_SUCCESS(rc) && fMayNotify)
    36123612    {
    36133613        if (fNotifyGuest)
Note: See TracChangeset for help on using the changeset viewer.

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