def METHOD_NAME(vm):
    """
    Get VM's session
    :param vm: VM object
    :return: The session of VM
    """
    vm.start()
    vm.cleanup_serial_console()
    vm.create_serial_console()
    return vm.wait_for_serial_login(timeout=240)