VirtualBox

Changeset 6959 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Feb 14, 2008 3:42:32 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28126
Message:

Additions/X11: minor logging corrections

Location:
trunk/src/VBox/Additions/x11/xclient
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xclient/seamless-host.cpp

    r6897 r6959  
    3636    if (mRunning)  /* Assertion */
    3737    {
    38         LogRel(("VBoxService: seamless service started twice!\n"));
     38        LogRel(("VBoxClient: seamless service started twice!\n"));
    3939        return VERR_INTERNAL_ERROR;
    4040    }
     
    4242    if (RT_FAILURE(rc))
    4343    {
    44         LogRel(("VBoxService (seamless): failed to set the guest IRQ filter mask, rc=%Rrc\n", rc));
     44        LogRel(("VBoxClient (seamless): failed to set the guest IRQ filter mask, rc=%Rrc\n", rc));
    4545    }
    4646    rc = VbglR3SeamlessSetCap(true);
    4747    if (RT_SUCCESS(rc))
    4848    {
    49         Log(("VBoxService: enabled seamless capability on host.\n"));
     49        Log(("VBoxClient: enabled seamless capability on host.\n"));
    5050        rc = mThread.start();
    5151        if (RT_SUCCESS(rc))
     
    5555        else
    5656        {
    57             LogRel(("VBoxService: failed to start seamless event thread, rc=%Rrc.  Disabled seamless capability on host again.\n", rc));
     57            LogRel(("VBoxClient: failed to start seamless event thread, rc=%Rrc.  Disabled seamless capability on host again.\n", rc));
    5858            VbglR3SeamlessSetCap(false);
    5959        }
     
    6161    if (RT_FAILURE(rc))
    6262    {
    63         Log(("VBoxService (seamless): failed to enable seamless capability on host, rc=%Rrc\n", rc));
     63        Log(("VBoxClient (seamless): failed to enable seamless capability on host, rc=%Rrc\n", rc));
    6464    }
    6565    return rc;
     
    7171    if (!mRunning)  /* Assertion */
    7272    {
    73         LogRel(("VBoxService: tried to stop seamless service which is not running!\n"));
     73        LogRel(("VBoxClient: tried to stop seamless service which is not running!\n"));
    7474        return;
    7575    }
     
    9898              making the guest desktop transparent. */
    9999    #ifdef DEBUG
    100                 LogRelFunc(("VMMDev_Seamless_Visible_Region request received (VBoxService).\n"));
     100                LogRelFunc(("VMMDev_Seamless_Visible_Region request received (VBoxClient).\n"));
    101101    #endif
    102102                mState = ENABLE;
     
    105105            case VMMDev_Seamless_Host_Window:
    106106            /* One host window represents one guest window.  Not yet implemented. */
    107                 LogRelFunc(("Warning: VMMDev_Seamless_Host_Window request received (VBoxService).\n"));
     107                LogRelFunc(("Warning: VMMDev_Seamless_Host_Window request received (VBoxClient).\n"));
    108108                /* fall through to default */
    109109            default:
    110                 LogRelFunc(("Warning: unsupported VMMDev_Seamless request %d received (VBoxService).\n", newMode));
     110                LogRelFunc(("Warning: unsupported VMMDev_Seamless request %d received (VBoxClient).\n", newMode));
    111111                /* fall through to case VMMDev_Seamless_Disabled */
    112112            case VMMDev_Seamless_Disabled:
    113113    #ifdef DEBUG
    114                 LogRelFunc(("VMMDev_Seamless_Disabled set (VBoxService).\n"));
     114                LogRelFunc(("VMMDev_Seamless_Disabled set (VBoxClient).\n"));
    115115    #endif
    116116                mState = DISABLE;
     
    120120    else
    121121    {
    122         LogFunc(("VbglR3SeamlessWaitEvent returned %Rrc (VBoxService)\n", rc));
     122        LogFunc(("VbglR3SeamlessWaitEvent returned %Rrc (VBoxClient)\n", rc));
    123123    }
    124124    return rc;
  • trunk/src/VBox/Additions/x11/xclient/seamless-host.h

    r6897 r6959  
    123123        if (mObserver != 0)  /* Assertion */
    124124        {
    125             LogRel(("VBoxService: ERROR: attempt to initialise seamless host object twice!\n"));
     125            LogRel(("VBoxClient: ERROR: attempt to initialise seamless host object twice!\n"));
    126126            return VERR_INTERNAL_ERROR;
    127127        }
     
    151151
    152152    VBoxGuestSeamlessHost(void) : mThreadFunction(this),
    153                                   mThread(&mThreadFunction, 0, RTTHREADTYPE_MAIN_WORKER,
     153                                  mThread(&mThreadFunction, 0, RTTHREADTYPE_MSG_PUMP,
    154154                                  RTTHREADFLAGS_WAITABLE, "Host events")
    155155    {
     
    163163        if (mRunning)  /* Assertion */
    164164        {
    165             LogRel(("VBoxService: seamless host object still running!  Stopping...\n"));
     165            LogRel(("VBoxClient: seamless host object still running!  Stopping...\n"));
    166166            try
    167167            {
  • trunk/src/VBox/Additions/x11/xclient/seamless-x11.cpp

    r6290 r6959  
    66
    77/*
    8  * Copyright (C) 2006-2007 innotek GmbH
     8 * Copyright (C) 2008 innotek GmbH
    99 *
    1010 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    7272    if (0 != mObserver)  /* Assertion */
    7373    {
    74         LogRel(("VBoxService: ERROR: attempt to initialise seamless guest object twice!\n"));
     74        LogRel(("VBoxClient: ERROR: attempt to initialise seamless guest object twice!\n"));
    7575        return VERR_INTERNAL_ERROR;
    7676    }
    7777    if (!mDisplay.init())
    7878    {
    79         LogRel(("VBoxService: seamless guest object failed to acquire a connection to the display.\n"));
     79        LogRel(("VBoxClient: seamless guest object failed to acquire a connection to the display.\n"));
    8080        return VERR_ACCESS_DENIED;
    8181    }
     
    8383                           NET_CLIENT_LIST, &nItems).get())
    8484    {
    85         LogRel(("VBoxService: _NET_CLIENT_LIST property not supported by guest window manager.  Seamless mode will not be enabled.\n"));
     85        LogRel(("VBoxClient: _NET_CLIENT_LIST property not supported by guest window manager.  Seamless mode will not be enabled.\n"));
    8686    }
    8787    mObserver = pObserver;
     
    167167    if (!XGetWindowAttributes(mDisplay, hWin, &winAttrib))
    168168    {
    169         LogRelFunc(("VBoxService: Failed to get the window attributes for window %d\n", hWin));
     169        LogRelFunc(("VBoxClient: Failed to get the window attributes for window %d\n", hWin));
    170170        return;
    171171    }
  • trunk/src/VBox/Additions/x11/xclient/seamless.h

    r6897 r6959  
    142142        if (isInitialised)  /* Assertion */
    143143        {
    144             LogRelFunc(("error: called a second time! (VBoxService)\n"));
     144            LogRelFunc(("error: called a second time! (VBoxClient)\n"));
    145145            rc = VERR_INTERNAL_ERROR;
    146146        }
     
    163163        if (RT_FAILURE(rc))
    164164        {
    165             LogFunc(("returning %Rrc (VBoxService)\n", rc));
     165            LogFunc(("returning %Rrc (VBoxClient)\n", rc));
    166166        }
    167167        return rc;
Note: See TracChangeset for help on using the changeset viewer.

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