diff options
author | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-10-23 22:45:15 +0100 |
---|---|---|
committer | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-10-23 22:45:15 +0100 |
commit | fea77823212ce8b48b1897cb73dd0590896809eb (patch) | |
tree | 4440fe26eddd8ca15bc3a57646a2a83f08ef5911 /tools/xenstore/xenstored_core.h | |
parent | 4384b3fc7028be8e027d984e4f7e38a0d488211d (diff) | |
download | xen-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_core.h')
-rw-r--r-- | tools/xenstore/xenstored_core.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h index abcb42c38d..da98a9211d 100644 --- a/tools/xenstore/xenstored_core.h +++ b/tools/xenstore/xenstored_core.h @@ -155,9 +155,6 @@ void __attribute__((noreturn)) corrupt(struct connection *conn, struct connection *new_connection(connwritefn_t *write, connreadfn_t *read); -void internal_rm(const char *name); - - /* Is this a valid node name? */ bool is_valid_nodename(const char *node); |