mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-16 22:33:00 +00:00
hv: configure hv console default output in scenario file
Add a new option CONSOLE_VM in scenario to set the default vm to be outputted in hv console, when it is not set, acrn console will be used (current behavior). This is intended for debugging vm boot issues. Tracked-On: #8518 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
a052cda8e4
commit
997bdc4843
@@ -23,7 +23,7 @@ struct hv_timer console_timer;
|
||||
#define CONSOLE_KICK_TIMER_TIMEOUT 40UL /* timeout is 40ms*/
|
||||
/* Switching key combinations for shell and uart console */
|
||||
#define GUEST_CONSOLE_TO_HV_SWITCH_KEY 0 /* CTRL + SPACE */
|
||||
uint16_t console_vmid = ACRN_INVALID_VMID;
|
||||
uint16_t console_vmid = CONFIG_CONSOLE_DEFAULT_VM;
|
||||
|
||||
/* if use INIT to kick pcpu only, if not notification IPI still is used for sharing CPU */
|
||||
static bool use_init_ipi = false;
|
||||
|
||||
Reference in New Issue
Block a user