VirtualBox

vbox的更動 12083 路徑 trunk/src/VBox/Devices/VMMDev


忽略:
時間撮記:
2008-9-4 上午11:28:59 (16 年 以前)
作者:
vboxsync
訊息:

Do not wait for a guest event notification request.

檔案:
修改 1 筆資料

圖例:

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

    r11820 r12083  
    262262    PVM pVM = PDMDevHlpGetVM(pDevIns);
    263263    int rc;
    264     PVMREQ pReq;
    265264
    266265    Log3(("VMMDevNotifyGuest: u32EventMask = 0x%08X.\n", u32EventMask));
    267266
    268     rc = VMR3ReqCallVoid (pVM, &pReq, RT_INDEFINITE_WAIT,
    269                           (PFNRT) vmmdevNotifyGuest_EMT,
    270                           2, pVMMDevState, u32EventMask);
    271     AssertReleaseRC (rc);
    272     VMR3ReqFree (pReq);
     267    /* No need to wait for the completion of this request. It is a notification
     268     * about something, which has already happened.
     269     */
     270    rc = VMR3ReqCallEx(pVM, NULL, 0, VMREQFLAGS_NO_WAIT | VMREQFLAGS_VOID,
     271                       (PFNRT) vmmdevNotifyGuest_EMT,
     272                       2, pVMMDevState, u32EventMask);
     273    AssertRC(rc);
    273274}
    274275
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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