VirtualBox

Changeset 10628 in vbox


Ignore:
Timestamp:
Jul 15, 2008 7:45:48 AM (17 years ago)
Author:
vboxsync
Message:

Windows guest logging R0: Added VBOXGUEST_IOCTL_LOG for release logging of guest components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp

    r10560 r10628  
    840840                if (VBOX_FAILURE(rc) || VBOX_FAILURE(req->rc))
    841841                {
    842                     dprintf(("VBoxGuest::VBoxGuestDeviceControl VBOXGUEST_IOCTL_VMMREQUEST: error issuing request to VMMDev!"
     842                    dprintf(("VBoxGuest::VBoxGuestDeviceControl VBOXGUEST_IOCTL_VMMREQUEST: Error issuing request to VMMDev! "
    843843                             "rc = %d, VMMDev rc = %Vrc\n", rc, req->rc));
    844844                    Status = STATUS_UNSUCCESSFUL;
     
    10561056        }
    10571057#endif
     1058
     1059        case VBOXGUEST_IOCTL_LOG(0):    /* The size isn't relevant on NT. */
     1060        {
     1061            /* Enable this only for debugging:
     1062            dprintf(("VBoxGuest::VBoxGuestDeviceControl: VBOXGUEST_IOCTL_LOG\n"));
     1063             */
     1064            LogRel(("%.*s\n", (int)pStack->Parameters.DeviceIoControl.InputBufferLength, pBuf));
     1065            cbOut = 0;
     1066        } break;
    10581067
    10591068        default:
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