Changeset 20852 in vbox
- Timestamp:
- Jun 23, 2009 4:21:46 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48995
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r20326 r20852 10956 10956 * Locks the attached media. 10957 10957 * 10958 * All attached hard disks a nd DVD/floppy are locked for writing. Parents of10959 * attached hard disks (if any) are locked for reading.10958 * All attached hard disks are locked for writing and DVD/floppy are locked for 10959 * reading. Parents of attached hard disks (if any) are locked for reading. 10960 10960 * 10961 10961 * This method also performs accessibility check of all media it locks: if some … … 11155 11155 rc = it->first->UnlockRead (&state); 11156 11156 11157 /* the latter can happen if an object was re-locked in 11158 * Machine::fixupHardDisks() */ 11159 Assert (SUCCEEDED (rc) || state == MediaState_LockedRead); 11157 /* The second can happen if an object was re-locked in 11158 * Machine::fixupHardDisks(). The last can happen when e.g a DVD/Floppy 11159 * image was unmounted at runtime. */ 11160 Assert (SUCCEEDED (rc) || state == MediaState_LockedRead || state == MediaState_Created); 11160 11161 } 11161 11162
Note:
See TracChangeset
for help on using the changeset viewer.