tools: add example application to initialize dom0less PV drivers
authorLuca Miccio <lucmiccio@gmail.com>
Fri, 13 May 2022 21:07:29 +0000 (14:07 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 24 May 2022 23:20:12 +0000 (16:20 -0700)
commitec53e0c4ea94c4442fe31e91170df4cca9f49fbe
tree9e8aafbfc98270664d06a050801fe40c37425b44
parentfc2b57c9af462d67df871b080c0897156a616b7d
tools: add example application to initialize dom0less PV drivers

Add an example application that can be run in dom0 to complete the
dom0less domains initialization so that they can get access to xenstore
and use PV drivers.

The application sets "connection" to XENSTORE_RECONNECT on the xenstore
page before calling xs_introduce_domain to signal that the connection is
not ready yet to be used. XENSTORE_RECONNECT is reset soon after by
xenstored.

Signed-off-by: Luca Miccio <lucmiccio@gmail.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Acked-by: Julien Grall <jgrall@amazon.com>
CC: Wei Liu <wl@xen.org>
CC: Anthony PERARD <anthony.perard@citrix.com>
CC: Juergen Gross <jgross@suse.com>
tools/helpers/Makefile
tools/helpers/init-dom0less.c [new file with mode: 0644]