aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_domain.h
diff options
context:
space:
mode:
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2005-10-23 22:45:15 +0100
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2005-10-23 22:45:15 +0100
commitfea77823212ce8b48b1897cb73dd0590896809eb (patch)
tree4440fe26eddd8ca15bc3a57646a2a83f08ef5911 /tools/xenstore/xenstored_domain.h
parent4384b3fc7028be8e027d984e4f7e38a0d488211d (diff)
downloadxen-fea77823212ce8b48b1897cb73dd0590896809eb.tar.gz
xen-fea77823212ce8b48b1897cb73dd0590896809eb.tar.bz2
xen-fea77823212ce8b48b1897cb73dd0590896809eb.zip
Change the semantics of GetDomainPath so that it always succeeds, regardless of
whether a domain has been introduced to the store. Added a separate message XS_IS_DOMAIN_INTRODUCED and API for that (xs_is_domain_introduced) to determine whether the domain has really been introduced. This change means that the tools can determine the correct domain path earlier in the domain creation process, which is particularly a factor with live migration, as it allows us to create the devices earlier in the process, and unpause the new domain before performing the introduce. Until recently we already had these features, but the simplification of the interface between xend and xenstored caused breakage. No longer clear out the domain path when a domain is introduced -- this was a hack to work around the recent problematic semantics of GetDomainPath. Do not write the contents of the info block to the store. All the configuration info is written to the /vm path, and anything else in the info block is either dealt with explicitly or is ephemeral and has no place in the store. Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/xenstore/xenstored_domain.h')
-rw-r--r--tools/xenstore/xenstored_domain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xenstore/xenstored_domain.h b/tools/xenstore/xenstored_domain.h
index e8d5ec8c88..b8d839d624 100644
--- a/tools/xenstore/xenstored_domain.h
+++ b/tools/xenstore/xenstored_domain.h
@@ -26,6 +26,9 @@ void handle_event(void);
void do_introduce(struct connection *conn, struct buffered_data *in);
/* domid */
+void do_is_domain_introduced(struct connection *conn, const char *domid_str);
+
+/* domid */
void do_release(struct connection *conn, const char *domid_str);
/* domid */