For now assume all such connections come from domain 0.
Failure to do this breaks various scripts which assume that they
operate relative to the domains "home directory".
This matches the behaviour of the ocaml xenstored.
Thanks to report from Olaf Hering.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
const char *get_implicit_path(const struct connection *conn)
{
if (!conn->domain)
- return NULL;
+ return "/local/domain/0";
return conn->domain->path;
}