VirtualBox

Changeset 33929 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Nov 10, 2010 9:31:48 AM (14 years ago)
Author:
vboxsync
Message:

wddm: fix guest misbehave on driver update, bugfixing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r33714 r33929  
    12371237    if (RT_FAILURE(rc) || RT_FAILURE(parms.hdr.result))
    12381238    {
     1239        Assert(0);
     1240
    12391241        crWarning("Host doesn't accept our version %d.%d. Make sure you have appropriate additions installed!",
    12401242                  parms.vMajor.u.value32, parms.vMinor.u.value32);
     
    12781280        if (g_crvboxhgcm.hGuestDrv == INVALID_HANDLE_VALUE)
    12791281        {
     1282            Assert(0);
    12801283            crDebug("could not open VBox Guest Additions driver! rc = %d\n", GetLastError());
    12811284            VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
     
    12921295            crDebug("could not open Guest Additions kernel module! rc = %d\n", errno);
    12931296            VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
     1297            Assert(0);
    12941298            return FALSE;
    12951299        }
     
    13331337        {
    13341338            crDebug("HGCM connect failed with rc=0x%x\n", info.result);
     1339            Assert(0);
    13351340
    13361341            VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
     
    13411346    {
    13421347#ifdef RT_OS_WINDOWS
    1343         crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", GetLastError());
     1348        DWORD winEr = GetLastError();
     1349        Assert(0);
     1350        crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", winEr);
    13441351#else
    13451352        crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", errno);
     
    16271634    if (RT_FAILURE(rc))
    16281635    {
    1629         crWarning("pfnBufferSubmitAsynch failed with %d \n", rc);
     1636        crError("pfnBufferSubmitAsynch failed with %d \n", rc);
    16301637        return;
    16311638    }
     
    17611768        if (RT_FAILURE(rc))
    17621769        {
    1763             crWarning("pfnBufferSubmitAsynch failed with %d \n", rc);
     1770            crError("pfnBufferSubmitAsynch failed with %d \n", rc);
    17641771            break;
    17651772        }
     
    18811888            callRes = _crVBoxHGSMICmdBufferGetRc(pClient);
    18821889        }
     1890        else
     1891        {
     1892            /* we can not recover at this point, report error & exit */
     1893            crError("pfnBufferSubmitAsynch failed with %d \n", rc);
     1894        }
    18831895    }
    18841896    else
     
    19141926
    19151927            callRes = _crVBoxHGSMICmdBufferGetRc(pClient);
     1928        }
     1929        else
     1930        {
     1931            /* we can not recover at this point, report error & exit */
     1932            crError("Failed to submit CrHhgsmi buffer");
    19161933        }
    19171934    }
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