def _convert_2_1_0(topo, topo_path):
    """
    Convert topologies from GNS3 2.1.x to 2.2

    Changes:
     * Removed acpi_shutdown option from Qemu, VMware and VirtualBox

    """
    topo['revision'] = 9
    if 'grid_size' in topo:
        topo['drawing_grid_size'] = topo['grid_size']
    for node in topo.get('topology', {}).get('nodes', []):
        if 'console_type' in node and node['console_type'] is None:
            node['console_type'] = 'none'
        if 'properties' in node:
            if node['node_type'] in ('qemu', 'vmware', 'virtualbox'):
                if 'acpi_shutdown' in node['properties']:
                    if node['properties']['acpi_shutdown'] is True:
                        node['properties']['on_close'] = 'save_vm_sate'
                    else:
                        node['properties']['on_close'] = 'power_off'
                    del node['properties']['acpi_shutdown']
                if 'save_vm_state' in node['properties']:
                    del node['properties']['save_vm_state']
    return topo
