VirtualBox

Ignore:
Timestamp:
Jun 16, 2009 4:13:14 PM (15 years ago)
Author:
vboxsync
Message:

Storage/VMDK: automatically set lsilogic as controller type if creating ESX image. ESX sulks otherwise.

File:
1 edited

Legend:

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

    r20639 r20640  
    36663666        cbRemaining -= cbExtent;
    36673667        cbOffset += cbExtent;
     3668    }
     3669
     3670    if (pImage->uImageFlags & VD_VMDK_IMAGE_FLAGS_ESX)
     3671    {
     3672        /* VirtualBox doesn't care, but VMWare ESX freaks out if the wrong
     3673         * controller type is set in an image. */
     3674        rc = vmdkDescDDBSetStr(pImage, &pImage->Descriptor, "ddb.adapterType", "lsilogic");
     3675        if (RT_FAILURE(rc))
     3676            return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: could not set controller type to lsilogic in '%s'"), pImage->pszFilename);
    36683677    }
    36693678
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