From patchwork Sat Jan 4 01:58:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Mukhin via B4 Relay X-Patchwork-Id: 13926038 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 2BA15E7719A for ; Sat, 4 Jan 2025 01:58:37 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.864703.1275931 (Exim 4.92) (envelope-from ) id 1tTtQi-0005De-F7; Sat, 04 Jan 2025 01:58:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 864703.1275931; Sat, 04 Jan 2025 01:58:20 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tTtQi-0005Ci-B6; Sat, 04 Jan 2025 01:58:20 +0000 Received: by outflank-mailman (input) for mailman id 864703; Sat, 04 Jan 2025 01:58:19 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tTtQh-0005Ax-Cc for xen-devel@lists.xenproject.org; Sat, 04 Jan 2025 01:58:19 +0000 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 5ceb498d-ca3f-11ef-a0de-8be0dac302b0; Sat, 04 Jan 2025 02:58:16 +0100 (CET) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 922D5A411CC; Sat, 4 Jan 2025 01:56:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7FC86C4CEE1; Sat, 4 Jan 2025 01:58:15 +0000 (UTC) Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78E9EE77199; Sat, 4 Jan 2025 01:58:15 +0000 (UTC) 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: 5ceb498d-ca3f-11ef-a0de-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1735955895; bh=l5CaQI1poeUeBhWKU19UCrMQ4g4rX0YNIDC4pnEb90I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=E9oQQTd5LujcPgVUdEcB2UZB99M9Snlv5YHhTBLda8b+uM9O3bCrGkpcfWKPiOKPV HdT+JfFaJCdGXFElA2IxlT5teosXI3PU33DFQE0GPMd3s0ZmWrQSybRJoomY2tHOXl JlNw4fAz52BbVAE1wt1RYF90QePRggzFjahrOPay5YglUG2Awkdr7exH90vsysxzT7 +iXc2Jq/bEK5M43IHQnKVTH9ibaxUrcv8kXbZ36WF+FYGEnFjpOlVlH3dVWv6w3ROv Euq2c3x5bJUj6UbDPkhwOCUy/CAgWJRc4uRiITJoajQu9CDtQeJpsJbg+dPNfRsJP7 x3gMUyg7U1EHQ== From: Denis Mukhin via B4 Relay Date: Fri, 03 Jan 2025 17:58:20 -0800 Subject: [PATCH v3 14/24] xen/console: simplify console owner switch hint MIME-Version: 1.0 Message-Id: <20250103-vuart-ns8250-v3-v1-14-c5d36b31d66c@ford.com> References: <20250103-vuart-ns8250-v3-v1-0-c5d36b31d66c@ford.com> In-Reply-To: <20250103-vuart-ns8250-v3-v1-0-c5d36b31d66c@ford.com> To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Julien Grall , Michal Orzel , Andrew Cooper , Anthony PERARD , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Denis Mukhin X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1735955892; l=896; i=dmukhin@ford.com; s=20241125; h=from:subject:message-id; bh=WzdT/Oy8WMU/I7irURWT2SUpInPaVWdH8Z0/y7n+8AQ=; b=0j4lA25445KHzzpLVNgHBUI7bv00MN0Fqcvm5irJlwmNd4cGdfAKratJveXfG1O5lhSWXgwHE Y4tyt3EKNmYC05cRxLpm0AvVDCaAFO7SHVx7/Fypjcnz0cJJZjLKzPO X-Developer-Key: i=dmukhin@ford.com; a=ed25519; pk=SsDZ9p39s0fqcpUKQuqKqrbn0rq6EtEAClvpOpzx6+U= X-Endpoint-Received: by B4 Relay for dmukhin@ford.com/20241125 with auth_id=287 X-Original-From: Denis Mukhin Reply-To: dmukhin@ford.com From: Denis Mukhin Update the hint with the combination of keys to press for the physical console focus switch between the domains. Signed-off-by: Denis Mukhin --- xen/drivers/char/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index f5ff3ebd830d631fa5d8fb5db1cf68adafcd02b4..1308236403df8a0f87aeb7e2c00a036c2d8433a7 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -518,8 +518,8 @@ int console_set_owner(domid_t domid) console_owner = domid; if ( switch_code ) - printk(" (type 'CTRL-%c' three times to switch input)", - opt_conswitch[0]); + printk(" (type 'CTRL-%c%c%c' to switch input)", + opt_conswitch[0], opt_conswitch[0], opt_conswitch[0]); printk("\n"); return 0;