VirtualBox

Changeset 36202 in vbox for trunk/src


Ignore:
Timestamp:
Mar 8, 2011 9:48:55 AM (14 years ago)
Author:
vboxsync
Message:

VMMDev: be a bit more verbose

File:
1 edited

Legend:

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

    r36201 r36202  
    439439        && requestHeader.requestType != VMMDevReq_GetHostVersion) /* Always allow the guest to query the host capabilities. */
    440440    {
    441         Log(("VMMDev: guest has not yet reported to us. Refusing operation.\n"));
     441        Log(("VMMDev: guest has not yet reported to us. Refusing operation of request #%d!\n",
     442             requestHeader.requestType));
    442443        requestHeader.rc = VERR_NOT_SUPPORTED;
     444        static int cRelWarn;
     445        if (cRelWarn < 10)
     446        {
     447            cRelWarn++;
     448            LogRel(("VMMDev: the guest has not yet reported to us -- refusing operation of request #%d\n",
     449                    requestHeader.requestType));
     450        }
    443451        rcRet = VINF_SUCCESS;
    444452        goto l_end;
     
    448456    if (requestHeader.size > VMMDEV_MAX_VMMDEVREQ_SIZE)
    449457    {
    450         LogRel(("VMMDev: request packet too big (%x). Refusing operation.\n", requestHeader.size));
     458        static int cRelWarn;
     459        if (cRelWarn < 50)
     460        {
     461            cRelWarn++;
     462            LogRel(("VMMDev: request packet too big (%x). Refusing operation.\n", requestHeader.size));
     463        }
    451464        requestHeader.rc = VERR_NOT_SUPPORTED;
    452465        rcRet = VINF_SUCCESS;
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