VirtualBox

Changeset 47698 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 13, 2013 2:50:50 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87926
Message:

Main/GuestCtrl: Mark guest session 0 as the root guest control process.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r47627 r47698  
    380380    {
    381381        /* Create a new session ID and assign it. */
    382         uint32_t uNewSessionID = 0;
     382        uint32_t uNewSessionID = VBOX_GUESTCTRL_SESSION_ID_BASE;
    383383        uint32_t uTries = 0;
    384384
     
    393393            uNewSessionID++;
    394394            if (uNewSessionID >= VBOX_GUESTCTRL_MAX_SESSIONS)
    395                 uNewSessionID = 0;
     395                uNewSessionID = VBOX_GUESTCTRL_SESSION_ID_BASE;
    396396
    397397            if (++uTries == VBOX_GUESTCTRL_MAX_SESSIONS)
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r47627 r47698  
    656656
    657657    if (mData.mStatus != GuestSessionStatus_Started)
     658    {
     659        LogFlowThisFunc(("Session ID=%RU32 not started (anymore), status now is: %ld\n",
     660                         mData.mSession.mID, mData.mStatus));
    658661        return VINF_SUCCESS;
     662    }
    659663
    660664    int vrc;
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