'Destroys all VDIs associated with a VM.'

def _destroy_vdis(self, instance, vm_ref):

    LOG.debug('Destroying    VDIs', instance=instance)
    vdi_refs = vm_utils.lookup_vm_vdis(self._session, vm_ref)
    if (not vdi_refs):
        return
    for vdi_ref in vdi_refs:
        try:
            vm_utils.destroy_vdi(self._session, vdi_ref)
        except exception.StorageError as exc:
            LOG.error(exc)
