misc: Add scenario file and change board file for QEMU virt platform

key scenario configuration for qemu-riscv board:
SCHEDULER:SCHED_NOOP
RELOC_ENABLED:n
HV_RAM_START:0x81000000
ACRNTRACE_ENABLED:n
make changes for riscv qemu board file.
change board name to be qemu-riscv to align with folder name, add memory
range to pass xmlschema check.

Tracked-On: #8814
Reviewed-by: Fei Li <fei1.li@intel.com>
Signed-off-by: Xue Bosheng <bosheng.xue@intel.com>
This commit is contained in:
Xue Bosheng
2025-10-10 08:42:07 +08:00
committed by acrnsi-robot
parent 3449b62dfb
commit 23b9cacbd2
2 changed files with 29 additions and 1 deletions

View File

@@ -27,7 +27,7 @@
This file serves as a template and reference for RISC-V platform support development.
-->
<acrn-config board="riscv_board">
<acrn-config board="qemu-riscv">
<BIOS_INFO>
BIOS Information
Vendor: U-Boot
@@ -140,6 +140,10 @@ ff71b000-ffffffff : System RAM
</TTYS_INFO>
<AVAILABLE_IRQ_INFO>
</AVAILABLE_IRQ_INFO>
<!-- Add memory range to pass xmlschema check -->
<memory>
<range start="0x80060000" end="0x100000000" size="2147090432"/>
</memory>
<TOTAL_MEM_INFO>
4038724 kB
</TOTAL_MEM_INFO>

View File

@@ -0,0 +1,24 @@
<acrn-config>
<hv>
<BUILD_TYPE>debug</BUILD_TYPE>
<DEBUG_OPTIONS>
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
</DEBUG_OPTIONS>
<FEATURES>
<RELOC_ENABLED>n</RELOC_ENABLED>
<SCHEDULER>SCHED_NOOP</SCHEDULER>
<ACRNTRACE_ENABLED>n</ACRNTRACE_ENABLED>
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<HV_RAM_START>0x81000000</HV_RAM_START>
</MEMORY>
</hv>
<vm id="0">
<load_order>SERVICE_VM</load_order>
<name>ACRN_Service_VM</name>
</vm>
</acrn-config>