The properties of a virtual machine include a virtual hardware version that encapsulates the capabilities of a virtual machine. VMware products generally support the current and the previous virtual hardware versions. You should upgrade virtual machines older than the previous virtual hardware version so they continue to run.
VixDiskLibCreateParams createParams; createParams.adapterType = VIXDISKLIB_ADAPTER_SCSI_LSILOGIC; createParams.capacity = 204800; createParams.diskType = VIXDISKLIB_DISK_MONOLITHIC_SPARSE; createParams.hwVersion = VIXDISKLIB_HWVERSION_WORKSTATION_6; VixError vixError = VixDiskLib_Create(appGlobals.connection, appGlobals.diskPath, &createParams, NULL, NULL); CHECK_AND_THROW(vixError);