Hello,
I am facing the build failure when trying to build acrn-hypervisor. I have generated the board.xml and scenario.xml file as given in the procedure.
I am using kontron board which belongs to intel apollo lake APL0. I am attaching the board.xml file and scenaio xml file.
Previously, i have removed those lines to suppress the warnings and built the acrn and kernel. User vm is able to launch and worked perfectly.
My question is are these configurations mandatory for running the user vm without any problem in future. If not, how to fix them.
Traceback (most recent call last):
File "/home/shibi/acrn-work/acrn-hypervisor/misc/config_tools/static_allocators/main.py", line 41, in
main(args)
File "/home/shibi/acrn-work/acrn-hypervisor/misc/config_tools/static_allocators/main.py", line 31, in main
module.fn(board_etree, scenario_etree, allocation_etree)
File "/home/shibi/acrn-work/acrn-hypervisor/misc/config_tools/static_allocators/bdf.py", line 149, in fn
native_used = get_devs_bdf_native(board_etree)
File "/home/shibi/acrn-work/acrn-hypervisor/misc/config_tools/static_allocators/bdf.py", line 89, in get_devs_bdf_native
dev_list.append(lib.lib.BusDevFunc(bus = bus, dev = dev, func = func))
File "/home/shibi/acrn-work/acrn-hypervisor/misc/config_tools/static_allocators/lib/lib.py", line 46, in __init__
raise ValueError(f"Invalid function number (0 ~ 7): {self.func:#x}")
ValueError: Invalid function number (0 ~ 7): 0xff
cp acrnlog.service /home/shibi/acrn-work/acrn-hypervisor/build/misc/debug_tools/acrnlog.service
make[2]: Leaving directory '/home/shibi/acrn-work/acrn-hypervisor/misc/debug_tools/acrn_log'
make[2]: Leaving directory '/home/shibi/acrn-work/acrn-hypervisor/misc/debug_tools/acrn_trace'
make[1]: *** No rule to make target '/home/shibi/acrn-work/acrn-hypervisor/build/hypervisor/configs/allocation.xml', needed by '/home/shibi/acrn-work/acrn-hypervisor/build/hypervisor/configs/unified.xml'. Stop.
make[1]: Leaving directory '/home/shibi/acrn-work/acrn-hypervisor/hypervisor'
Makefile:116: recipe for target 'hvdefconfig' failed
make: *** [hvdefconfig] Error 2
make: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/shibi/acrn-work/acrn-hypervisor/misc/debug_tools/acrn_crashlog/common'