VirtualBox

儲存庫 vbox 的更動 82675


忽略:
時間撮記:
2020-1-8 下午04:49:01 (5 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
135584
訊息:

Devices/VMMDev: Use sane (monitor is disabled) initial state when we have no hint yet, otherwise all monitors will be unconditionally enabled with X11 GA at least in the VMSVGA case. Temporary solution, eventually we'll need a way to properly signal "don't have any hint for this monitor".

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r82454 r82675  
    42724272    {
    42734273        DISPLAYCHANGEREQUEST *pRequest = &pThis->displayChangeData.aRequests[i];
    4274         memset (&pRequest->lastReadDisplayChangeRequest, 0, sizeof (pRequest->lastReadDisplayChangeRequest));
     4274        memset(&pRequest->lastReadDisplayChangeRequest, 0, sizeof(pRequest->lastReadDisplayChangeRequest));
     4275        pRequest->lastReadDisplayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED;
    42754276    }
    42764277    pThis->displayChangeData.iCurrentMonitor = 0;
     
    44574458    vmmdevAllocFacilityStatusEntry(pThis, VBoxGuestFacilityType_Graphics,        true /*fFixed*/, &TimeStampNow);
    44584459    Assert(pThis->cFacilityStatuses == 5);
     4460
     4461    /* disable all screens (no better hints known yet). */
     4462    /** @todo r=klaus need a way to represent "no hint known" */
     4463    for (unsigned i = 0; i < RT_ELEMENTS(pThis->displayChangeData.aRequests); i++)
     4464    {
     4465        DISPLAYCHANGEREQUEST *pRequest = &pThis->displayChangeData.aRequests[i];
     4466        pRequest->displayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED;
     4467        pRequest->lastReadDisplayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED;
     4468    }
    44594469
    44604470    /*
     
    49194929};
    49204930
    4921 #endif /* !VBOX_DEV1679
    4922 ICE_STRUCT_TESTCASE */
     4931#endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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