xen/arm: configure dom0less domain for enabling xenstore after boot
authorLuca Miccio <lucmiccio@gmail.com>
Fri, 13 May 2022 21:07:27 +0000 (14:07 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 24 May 2022 23:17:35 +0000 (16:17 -0700)
commit79eb2871f25ea4c44ba0e54362ad5a13d21b354f
tree5eee18638a4678962a5fd0aa78ed1861ea8a957b
parent5eedfe77287981b40669272b6ac42f2d57cd9b32
xen/arm: configure dom0less domain for enabling xenstore after boot

Export evtchn_alloc_unbound and make it __must_check.

If "xen,enhanced" is enabled, then add to dom0less domains:

- the hypervisor node in device tree
- the xenstore event channel

The xenstore event channel is also used for the first notification to
let the guest know that xenstore has become available.

Signed-off-by: Luca Miccio <lucmiccio@gmail.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
CC: Julien Grall <julien@xen.org>
CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
CC: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/domain_build.c
xen/common/event_channel.c
xen/include/xen/event.h