mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-04 02:56:52 +00:00
config-tools: Kernel load and entry address accept empty string
Allow the kern_load_addr and kern_entry_addr take empty string. Tracked-On: #6461 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
parent
c82c79c8e2
commit
f861e7b999
@ -100,8 +100,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs/>
|
||||
<kern_load_addr>0x1000</kern_load_addr>
|
||||
<kern_entry_addr>0x1000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -100,8 +100,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs></bootargs>
|
||||
<kern_load_addr>0x1000</kern_load_addr>
|
||||
<kern_entry_addr>0x1000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -90,8 +90,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod></ramdisk_mod>
|
||||
<bootargs/>
|
||||
<kern_load_addr>0x8000</kern_load_addr>
|
||||
<kern_entry_addr>0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -90,8 +90,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod></ramdisk_mod>
|
||||
<bootargs/>
|
||||
<kern_load_addr>0x8000</kern_load_addr>
|
||||
<kern_entry_addr>0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -87,8 +87,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>reboot=acpi</bootargs>
|
||||
<kern_load_addr>0x8000</kern_load_addr>
|
||||
<kern_entry_addr>0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -95,8 +95,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>reboot=acpi</bootargs>
|
||||
<kern_load_addr>0x8000</kern_load_addr>
|
||||
<kern_entry_addr>0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -87,8 +87,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>reboot=acpi</bootargs>
|
||||
<kern_load_addr>0x8000</kern_load_addr>
|
||||
<kern_entry_addr>0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -87,8 +87,6 @@
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>reboot=acpi</bootargs>
|
||||
<kern_load_addr>0x8000</kern_load_addr>
|
||||
<kern_entry_addr>0x8000</kern_entry_addr>
|
||||
</os_config>
|
||||
<legacy_vuart id="0">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
|
@ -180,12 +180,12 @@ must exactly match the module tag in the GRUB multiboot cmdline.</xs:documentati
|
||||
<xs:documentation>Configurable boot argument for pre-launched VM of hybrid or hybrid_rt mode.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="kern_load_addr" type="HexFormat" minOccurs="0">
|
||||
<xs:element name="kern_load_addr" type="KernLoadAddr" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The loading address in host memory for the VM kernel.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="kern_entry_addr" type="HexFormat" minOccurs="0">
|
||||
<xs:element name="kern_entry_addr" type="KernEntryAddr" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The entry address in host memory for the VM kernel.</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
@ -40,6 +40,20 @@
|
||||
<xs:union memberTypes="None HexFormat" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="KernLoadAddr">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Either empty, or an Integer value in hexadecimal format.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:union memberTypes="None HexFormat" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="KernEntryAddr">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Either empty, or an Integer value in hexadecimal format.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:union memberTypes="None HexFormat" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="MaxMsixTableNumType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Integer from 1 to 2048.</xs:documentation>
|
||||
|
@ -168,10 +168,10 @@
|
||||
<xsl:value-of select="acrn:initializer('kernel_type', kern_type)" />
|
||||
<xsl:value-of select="acrn:initializer('kernel_mod_tag', concat($quot, kern_mod, $quot))" />
|
||||
<xsl:value-of select="acrn:initializer('ramdisk_mod_tag', concat($quot, ramdisk_mod, $quot))" />
|
||||
<xsl:if test="kern_load_addr">
|
||||
<xsl:if test="kern_load_addr/text()">
|
||||
<xsl:value-of select="acrn:initializer('kernel_load_addr', kern_load_addr)" />
|
||||
</xsl:if>
|
||||
<xsl:if test="kern_entry_addr">
|
||||
<xsl:if test="kern_entry_addr/text()">
|
||||
<xsl:value-of select="acrn:initializer('kernel_entry_addr', kern_entry_addr)" />
|
||||
</xsl:if>
|
||||
<xsl:if test="normalize-space(bootargs)">
|
||||
|
Loading…
Reference in New Issue
Block a user