- Timestamp:
- Mar 24, 2009 5:05:22 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DVDDriveImpl.cpp
r18206 r18210 604 604 605 605 m.rollback(); 606 if (!m->image.isNull())607 {608 /* Reattach from the old image. */609 HRESULT rc = m->image->attachTo(mParent->id(), mParent->snapshotId());610 AssertComRC (rc);611 if (Global::IsOnline (adep.machineState()))612 {613 /* Lock from the old image. */614 rc = m->image->LockRead (NULL);615 AssertComRC (rc);616 }617 }618 606 } 619 607 -
trunk/src/VBox/Main/FloppyDriveImpl.cpp
r18206 r18210 612 612 613 613 m.rollback(); 614 if (!m->image.isNull())615 {616 /* Reattach from the old image. */617 HRESULT rc = m->image->attachTo(mParent->id(), mParent->snapshotId());618 AssertComRC (rc);619 if (Global::IsOnline (adep.machineState()))620 {621 /* Lock from the old image. */622 rc = m->image->LockRead (NULL);623 AssertComRC (rc);624 }625 }626 614 } 627 615
Note:
See TracChangeset
for help on using the changeset viewer.