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

[PATCH v7 13/16] emul/ns16x50: add Kconfig options



From: Denis Mukhin <dmukhin@xxxxxxxx> 

Add initial Kconfig options configure NS16550-capable emulator.

Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
---
Changes since v6:
- new patch
---
 xen/common/emul/vuart/Kconfig | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/xen/common/emul/vuart/Kconfig b/xen/common/emul/vuart/Kconfig
index ce1b976b7da7..9a49a6528b5a 100644
--- a/xen/common/emul/vuart/Kconfig
+++ b/xen/common/emul/vuart/Kconfig
@@ -3,4 +3,23 @@ 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.
+
+         Only one legacy PC COM port is emulated for domain with a certain ID
+         (set via 'vuart-domid=' 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.51.0




 


Rackspace

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