VirtualBox

Changeset 24256 in vbox for trunk/src


Ignore:
Timestamp:
Nov 2, 2009 2:28:08 PM (15 years ago)
Author:
vboxsync
Message:

Storage/VMDK: undo incorrect fix, and real fix for the split VMDK bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r24112 r24256  
    36563656        pExtent->fUncleanShutdown = true;
    36573657        pExtent->cNominalSectors = VMDK_BYTE2SECTOR(cbExtent);
    3658         pExtent->uSectorOffset = VMDK_BYTE2SECTOR(cbOffset);
     3658        pExtent->uSectorOffset = 0;
    36593659        pExtent->fMetaDirty = true;
    36603660
     
    40404040        {
    40414041            pExtent = &pImage->pExtents[i];
    4042             *puSectorInExtent = offSector;
     4042            *puSectorInExtent = offSector + pImage->pExtents[i].uSectorOffset;
    40434043            break;
    40444044        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette