mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-13 11:33:58 +00:00
HV: vuart: enable vuart console for VM
In previous code, only for pre-launched VM, hypervisor would create vuart console for each VM. But for post-launched VM, no vuart is created. In this patch, create vuart according to configuration in structure acrn_vm_config. As the new configuration is set for pre-launched VM and post-launched VM, and the vuart initialize process is common for each VM, so, remove CONFIG_PARTITION_MODE from vuart related code. 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
3c92d7bbc7
commit
235d886103
@@ -12,6 +12,8 @@
|
||||
#define SHELL_CMD_MAX_LEN 100U
|
||||
#define SHELL_STRING_MAX_LEN (PAGE_SIZE << 2U)
|
||||
|
||||
extern int16_t console_vmid;
|
||||
|
||||
/* Shell Command Function */
|
||||
typedef int32_t (*shell_cmd_fn_t)(int32_t argc, char **argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user