'Creates spec for disk type conversion during relocate.'

def _create_relocate_spec_disk_locator(self, datastore, disk_type, disk_device):

    cf = self._session.vim.client.factory
    disk_locator = cf.create('ns0:VirtualMachineRelocateSpecDiskLocator')
    disk_locator.datastore = datastore
    disk_locator.diskId = disk_device.key
    disk_locator.diskBackingInfo = self._create_disk_backing(disk_type, None)
    return disk_locator
