def get_replicas_for_vm(coriolis, vm_name):
    """ Returns all Replicas which include the given VM name. """
    replicas = []
    for replica in coriolis.replicas.list():
        if vm_name in replica.instances:
            replicas.append(replica)

    return replicas