Changeset 47698 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 13, 2013 2:50:50 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 87926
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r47651 r47698 10146 10146 the session object via <link to="IGuest::createSession"/>. 10147 10147 10148 There can be a maximum of 32 sessions at once per VM. Each session keeps 10149 track of its started guest processes, opened guest files or guest directories. 10148 There can be a maximum of 32 sessions at once per VM, whereas session 0 10149 is reserved for the root session. This root session is controlling all 10150 other guest sessions and also is responsible for actions which require 10151 system level privileges. Each guest session keeps track of its started 10152 guest processes, opened guest files or guest directories. 10150 10153 To work on guest files or directories a guest session offers methods to open 10151 10154 or create such objects (see <link to="IGuestSession::fileOpen"/> or -
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r47627 r47698 380 380 { 381 381 /* Create a new session ID and assign it. */ 382 uint32_t uNewSessionID = 0;382 uint32_t uNewSessionID = VBOX_GUESTCTRL_SESSION_ID_BASE; 383 383 uint32_t uTries = 0; 384 384 … … 393 393 uNewSessionID++; 394 394 if (uNewSessionID >= VBOX_GUESTCTRL_MAX_SESSIONS) 395 uNewSessionID = 0;395 uNewSessionID = VBOX_GUESTCTRL_SESSION_ID_BASE; 396 396 397 397 if (++uTries == VBOX_GUESTCTRL_MAX_SESSIONS) -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r47627 r47698 656 656 657 657 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)); 658 661 return VINF_SUCCESS; 662 } 659 663 660 664 int vrc;
Note:
See TracChangeset
for help on using the changeset viewer.