VirtualBox

Ignore:
Timestamp:
Jun 26, 2007 11:26:29 AM (17 years ago)
Author:
vboxsync
Message:

Added VMMDevReq_LogString. Debug only feature.

File:
1 edited

Legend:

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

    r3237 r3285  
    11661166        }
    11671167
     1168#ifdef DEBUG
     1169        case VMMDevReq_LogString:
     1170        {
     1171            if (requestHeader->size != sizeof(VMMDevReqLogString))
     1172            {
     1173                AssertMsgFailed(("VMMDevReq_LogString request size too small.\n"));
     1174                requestHeader->rc = VERR_INVALID_PARAMETER;
     1175            }
     1176            else
     1177            {
     1178                VMMDevReqLogString *pReqLogString = (VMMDevReqLogString*)requestHeader;
     1179#undef LOG_GROUP
     1180#define LOG_GROUP LOG_GROUP_DEV_VMM_BACKDOOR
     1181                Log(("Guest Log: %s\n", pReqLogString->szString));
     1182
     1183#undef LOG_GROUP
     1184#define LOG_GROUP LOG_GROUP_DEV_VMM
     1185
     1186            }
     1187        }
     1188#endif
    11681189        default:
    11691190        {
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