Changeset 11113 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Aug 4, 2008 4:47:15 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 34046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
r11110 r11113 77 77 machine->COMGETTER(Id)(uuid.asOutParam()); 78 78 79 /* open a session for the VM */ 80 CHECK_ERROR_RET (aVirtualBox, OpenSession(aSession, uuid), 1); 79 /* open a session for the VM - new or existing */ 80 if (FAILED (aVirtualBox->OpenSession(aSession, uuid))) 81 CHECK_ERROR_RET (aVirtualBox, OpenExistingSession(aSession, uuid), 1); 81 82 82 83 /* get the mutable session machine */ … … 154 155 machine->COMGETTER(Id)(uuid.asOutParam()); 155 156 156 /* open a session for the VM */ 157 CHECK_ERROR_RET (aVirtualBox, OpenSession(aSession, uuid), 1); 157 /* open a session for the VM - new or existing */ 158 if (FAILED (aVirtualBox->OpenSession(aSession, uuid))) 159 CHECK_ERROR_RET (aVirtualBox, OpenExistingSession(aSession, uuid), 1); 158 160 159 161 /* get the mutable session machine */ … … 217 219 machine->COMGETTER(Id)(uuid.asOutParam()); 218 220 219 /* open a session for the VM */ 220 CHECK_ERROR_RET (aVirtualBox, OpenSession(aSession, uuid), 1); 221 /* open a session for the VM - new or existing */ 222 if (FAILED (aVirtualBox->OpenSession(aSession, uuid))) 223 CHECK_ERROR_RET (aVirtualBox, OpenExistingSession(aSession, uuid), 1); 221 224 222 225 /* get the mutable session machine */
Note:
See TracChangeset
for help on using the changeset viewer.