def _get_vmdk_base_volume_device(self, volume_ref): # Get the vmdk file name that the VM is pointing to hardware_devices = self._session._call_method( vutil, "get_object_property", volume_ref, "config.hardware.device") return vm_util.get_vmdk_volume_disk(hardware_devices)
def _get_vmdk_base_volume_device(self, volume_ref): # Get the vmdk file name that the VM is pointing to hardware_devices = vm_util.get_hardware_devices(self._session, volume_ref) return vm_util.get_vmdk_volume_disk(hardware_devices)