mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +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
@@ -34,6 +34,11 @@
|
||||
<xs:documentation>Select the default log level for log messages written to the serial console. Log messages with the selected value or lower are displayed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="CONSOLE_VM" type="xs:integer" default="65535">
|
||||
<xs:annotation acrn:title="Default VM in hypervisor console output" acrn:views="basic">
|
||||
<xs:documentation>Select the default VM in hypervisor console output. Default is hypervisor console.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
|
||||
|
@@ -63,6 +63,13 @@
|
||||
<xsl:with-param name="value" select="CONSOLE_LOGLEVEL" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:call-template name="integer-by-key-value">
|
||||
<xsl:with-param name="key" select="'CONSOLE_DEFAULT_VM'" />
|
||||
<xsl:with-param name="value" select="CONSOLE_VM" />
|
||||
<!-- Default is HV console, ACRN_INVALID_VMID -->
|
||||
<xsl:with-param name="default" select="'0xffff'" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:apply-templates select="SERIAL_CONSOLE" />
|
||||
</xsl:template>
|
||||
|
||||
|
Reference in New Issue
Block a user