]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
xenstored: send an evtchn notification on introduce_domain
authorLuca Miccio <lucmiccio@gmail.com>
Fri, 13 May 2022 21:07:28 +0000 (14:07 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 24 May 2022 23:18:08 +0000 (16:18 -0700)
commitfc2b57c9af462d67df871b080c0897156a616b7d
tree38bc8dd2216ead51a77292b0b4fa7867fa04b486
parent79eb2871f25ea4c44ba0e54362ad5a13d21b354f
xenstored: send an evtchn notification on introduce_domain

When xs_introduce_domain is called, send out a notification on the
xenstore event channel so that any (dom0less) domain waiting for the
xenstore interface to be ready can continue with the initialization.
Before sending the notification, clear XENSTORE_RECONNECTING.

The extra notification is harmless for domains that don't require it.

In xs_wire.h update the commment on top of XENSTORE_RECONNECTING to
generalize its meaning to suit the dom0less use-case better. Also
improve docs/misc/xenstore-ring.txt.

Signed-off-by: Luca Miccio <lucmiccio@gmail.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
docs/misc/xenstore-ring.txt
tools/xenstore/xenstored_domain.c
xen/include/public/io/xs_wire.h