xen-troops / zephyr-xenlib

Set of Zephyr libs and applications that provides basic Dom0 services
Apache License 2.0
0 stars 10 forks source link

xen-dom-mgmt: add xen dom0less boot support #79

Closed GrygiriiS closed 4 months ago

GrygiriiS commented 4 months ago

In case of Xen dom0less boot the number of guest domains could be started already by Xen before Zephyr is started. In this case it's required to follow the same approach as Xen tool init-dom0less is doing, because guest domains do not have Xenstore initialized, but do have Xenstore event and memory preallocated.

This patch adds Xen dom0less boot support in the following way:

The Xen dom0less boot support is optional and can be enabled by CONFIG_XEN_DOM0LESS_BOOT Kconfig option.

This depends on [1].

[1] https://patchew.org/Xen/20240426031455.579637-1-xin.wang2@amd.com/ [2] https://github.com/xen-troops/zephyr/pull/100 Signed-off-by: Grygorii Strashko grygorii_strashko@epam.com

GrygiriiS commented 4 months ago

There is dependency from https://github.com/xen-troops/zephyr/pull/100