def _get_vm_extension_list(vm_iv):
    """Iterate over a list of virtual machine extensions.

    Arguments:
        vm_iv (dict): Raw virtual machine instance view record.

    Returns:
        dict: List of names of installed extensions

    """
    extensions = {}
    extension_list = []
    for e in vm_iv.get('extensions', []):
        extension_list.append(e['name'])
    extensions['extensions'] = extension_list
    return extensions