mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
HV: vuart: enable connect mode for VM
Enable connection mode for vuart, so that vuart in different VMs can set up connection. In pre-launched VM's configuration file, ttyS1 is set to be the connection port. To enable it in post-launched VM, just add vuart configuration. Tracked-On: #2987 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
235d886103
commit
bed57dd242
@@ -76,6 +76,7 @@ struct acrn_vuart {
|
||||
char vuart_tx_buf[TX_BUF_SIZE];
|
||||
bool thre_int_pending; /* THRE interrupt pending */
|
||||
bool active;
|
||||
struct acrn_vuart *target_vu; /* Pointer to target vuart */
|
||||
struct acrn_vm *vm;
|
||||
spinlock_t lock; /* protects all softc elements */
|
||||
};
|
||||
|
Reference in New Issue
Block a user