[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v8 16/26] emul/ns16x50: add Kconfig options


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: dmukhin@xxxxxxxx
  • Date: Wed, 11 Nov 2026 11:47:50 -0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LvN0dNJoLAhoz3gqUbFD9arKeG75QKPabxxW0qXtj3s=; b=CQBuPDezxyqg6X+Sw58oiJsL92dlMwE6M8AMr8k1SNTvu0ovg2oYGIP/2O8OnwYM59S+IaL8twIASEEaFSBBeHkxKNklsH7ifYWCzcp9x4vZHG3qLlfiEF+5dBAbN+dS357x58GNtk0jWMasLuLk0uEQTYnKXQnJeZwghD71Z57uyx5M8B4vn0vqLEyliKeXX7GWMIGJL9iQIazmsj80+wo3od9qcHedfxvFMZfqtP9e+EZyyUe2gXQn0kD6aVF3xUdx3GKc6QhSH0DI/F73Oba3WuI/Tc0/BWrX5XrhQ4MkdEdsJNRVy8L8CQLybd0nGBEsR2WJBkjGpYhWQIFZNQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TLCUdSEJi0N8DqyVktpllbfpP8HAPCAJu9R1cBfyUCi7338O3M0ih8KPhAPaEjxyh0gmgJo9kjAB1mEqzCGCENfNNh81876Pfq+AMHAxrLXOWkVVCr0gUE34hwbdYq8NVKv9GAdDMqUQWQtYM6CDRzzp9bR01Jc8kX9ovXYIsplocxRP9qWHEc2m3qBbxIUf0zH76fIEACV/xLhRehiGpgKYX6dj0eVyGghxOuS3mJJgGClaF+OIqbaIaXQbL3GJ7+dOUSgUE5v8hIFSfxOwz1GWSFPMGqNYZWTdH9a20A3AzgnEWTTZgBU4QQly4e3vjfIpYDXH7tfrwjqn7OqrOw==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"
  • Cc: andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger@xxxxxxxxxxxxxx, sstabellini@xxxxxxxxxx, xakep.amatop@xxxxxxxxx, dmukhin@xxxxxxx, Denis Mukhin <dmukhin@xxxxxxxx>
  • Delivery-date: Wed, 11 Nov 2026 19:49:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Pser-m365-app: SER-APP

From: Denis Mukhin <dmukhin@xxxxxxxx>

Add initial Kconfig options configure NS16550-capable emulator.

Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
---
 xen/common/emul/vuart/Kconfig | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/xen/common/emul/vuart/Kconfig b/xen/common/emul/vuart/Kconfig
index ce1b976b7da7..353a6325180e 100644
--- a/xen/common/emul/vuart/Kconfig
+++ b/xen/common/emul/vuart/Kconfig
@@ -3,4 +3,24 @@ config VUART_FRAMEWORK
 
 menu "UART Emulation"
 
+config VUART_NS16X50
+       bool "NS16550-compatible UART Emulator" if EXPERT
+       depends on X86 && HVM
+       select VUART_FRAMEWORK
+       help
+         In-hypervisor NS16550-compatible UART emulation.
+
+         On x86, only one legacy PC COM port is emulated for domain with a
+         certain ID (set via 'vuart=<domid>:<compatible>[,com[1-4]]' command 
line
+         setting).
+
+         This is strictly for testing purposes (such as early HVM guest 
console),
+         and not appropriate for use in production.
+
+config VUART_NS16X50_DEBUG
+       bool "Development: NS16550-compatible UART Emulator Debugging"
+       depends on VUART_NS16X50 && DEBUG
+       help
+         Enable development debugging.
+
 endmenu
-- 
2.56.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.