mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
HV: vuart: refine vuart config
Add vuart config in acrn_vm_config struct, support configuring 2 vuarts for each VM. The first vuart is used to work as VM's console. The second vuart is used to connect to other VM's vuart. When the port base for a vuart is set to 0, hypervisor will not create this vuart. Tracked-On: #2987 Signed-off-by: Victor Sun <victor.sun@intel.com> Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
1234f4f7b1
commit
3c92d7bbc7
@@ -150,15 +150,15 @@ config SERIAL_PIO_BASE
|
||||
|
||||
config COM_BASE
|
||||
hex "Base address of the vuart port"
|
||||
depends on !RELEASE
|
||||
default 0x3f8
|
||||
default 0 if RELEASE
|
||||
default 0x3f8 if !RELEASE
|
||||
help
|
||||
Base address of the vuart port.
|
||||
|
||||
config COM_IRQ
|
||||
int "IRQ of the vuart port"
|
||||
depends on !RELEASE
|
||||
default 4
|
||||
default 0 if RELEASE
|
||||
default 4 if !RELEASE
|
||||
help
|
||||
IRQ of the vuart port.
|
||||
|
||||
|
Reference in New Issue
Block a user