VirtualBox

Changeset 1021 in vbox


Ignore:
Timestamp:
Feb 22, 2007 9:42:03 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18878
Message:

Only detect geometry via the partition table if invalid CHS is set.

File:
1 edited

Legend:

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

    r1014 r1021  
    52255225            AssertRC(rc);
    52265226
    5227             if (enmTranslation == PDMBIOSTRANSLATION_AUTO)
     5227            if (    enmTranslation == PDMBIOSTRANSLATION_AUTO
     5228                &&  (   pIf->cCHSCylinders == 0
     5229                     || pIf->cCHSHeads == 0
     5230                     || pIf->cCHSSectors == 0
     5231                    )
     5232               )
    52285233            {
    52295234                /* Image contains no geometry information, detect geometry. */
Note: See TracChangeset for help on using the changeset viewer.

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