tools/oxenstored: port XS_INTRODUCE evtchn rebind function from cxenstored
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Mon, 19 Aug 2019 18:45:35 +0000 (19:45 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Aug 2019 12:34:36 +0000 (13:34 +0100)
commitf6cc37ea8ac71385b60507c034519f304da75f4c
treebb24f839d477797b128bc2868bf2a0df5861143b
parent3009ae2cb6a50fd4baf9e57afd3da8096a513737
tools/oxenstored: port XS_INTRODUCE evtchn rebind function from cxenstored

C version of xenstored had this ability since 61aaed0d5 ("Allow
XS_INTRODUCE to be used for rebinding the xenstore evtchn.") from 2007.
Copy it as is to Ocaml version.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
tools/ocaml/xenstored/domain.ml
tools/ocaml/xenstored/process.ml