def _get_normalized_vm_statuses(vm_iv):
    """Iterate over a list of virtual machine statuses and normalize them.

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

    Returns:
        dict: Normalized virtual machine statuses

    """
    normalized_statuses = {}
    for s in vm_iv.get('statuses', []):
        code = s.get('code', '')
        if code.startswith('PowerState/'):
            code_elements = code.split('/', 1)
            normalized_statuses['power_state'] = code_elements[1].lower()
    return normalized_statuses