Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0102C001DC for ; Thu, 27 Jul 2023 16:45:37 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.571229.894582 (Exim 4.92) (envelope-from ) id 1qP470-00047V-G3; Thu, 27 Jul 2023 16:45:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 571229.894582; Thu, 27 Jul 2023 16:45:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qP470-00047O-DK; Thu, 27 Jul 2023 16:45:14 +0000 Received: by outflank-mailman (input) for mailman id 571229; Thu, 27 Jul 2023 16:45:13 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qP46z-00047I-CB for xen-devel@lists.xenproject.org; Thu, 27 Jul 2023 16:45:13 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id f2903357-2c9c-11ee-8613-37d641c3527e; Thu, 27 Jul 2023 18:45:09 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D8221D75; Thu, 27 Jul 2023 09:45:51 -0700 (PDT) Received: from e125920.cambridge.arm.com (unknown [10.1.199.65]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 820A33F5A1; Thu, 27 Jul 2023 09:45:07 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f2903357-2c9c-11ee-8613-37d641c3527e From: Peter Hoyes To: xen-devel@lists.xenproject.org Cc: bertrand.marquis@arm.com, wei.chen@arm.com, luca.fancellu@arm.com, Peter Hoyes , Wei Liu , Anthony PERARD , Juergen Gross Subject: [PATCH v6 0/2] Add escape character argument to Xen console Date: Thu, 27 Jul 2023 17:44:47 +0100 Message-Id: <20230727164450.77640-1-peter.hoyes@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Peter Hoyes Dom0 may be accessed via telnet, meaning the default escape character (which is the same as telnet's) cannot be directly used to exit the console. It would be helpful to make the escape character customizable in such use cases, falling back to the existing value if not set. Make the necessary changes to the console client, libxl and the xl console sub-command to support this. Peter Hoyes (2): tools/console: Add escape argument to configure escape character xl: Add escape character argument to xl console docs/man/xl.1.pod.in | 8 +++++- tools/console/client/main.c | 21 +++++++++++++--- tools/include/libxl.h | 43 ++++++++++++++++++++++++++++---- tools/libs/light/libxl_console.c | 30 ++++++++++++++++------ tools/xl/xl_cmdtable.c | 3 ++- tools/xl/xl_console.c | 10 +++++--- tools/xl/xl_vmcontrol.c | 2 +- 7 files changed, 94 insertions(+), 23 deletions(-) -- 2.34.1