diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-09 18:33:35 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-09 18:33:35 +0000 |
commit | 7e0fd117e73fde58fe1ddb2fd4bd56108d2918a1 (patch) | |
tree | f81fbd7c25b616edc281c84ad6368e493a9d24f5 /tools/xenstore/xenstored_core.c | |
parent | f5f38f9f51d3dcf214d1035f8c23b2c2004243eb (diff) | |
download | xen-7e0fd117e73fde58fe1ddb2fd4bd56108d2918a1.tar.gz xen-7e0fd117e73fde58fe1ddb2fd4bd56108d2918a1.tar.bz2 xen-7e0fd117e73fde58fe1ddb2fd4bd56108d2918a1.zip |
xenstored: add --event parameter for bootstrapping
When xenstored is run in a minios domain, it needs a bootstrap
connection to dom0 so that additional domain introduce messages can be
sent to it.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenstore/xenstored_core.c')
-rw-r--r-- | tools/xenstore/xenstored_core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c index a762db714f..40e2fc0c8b 100644 --- a/tools/xenstore/xenstored_core.c +++ b/tools/xenstore/xenstored_core.c @@ -1749,6 +1749,7 @@ static struct option options[] = { { "no-domain-init", 0, NULL, 'D' }, { "entry-nb", 1, NULL, 'E' }, { "pid-file", 1, NULL, 'F' }, + { "event", 1, NULL, 'e' }, { "help", 0, NULL, 'H' }, { "no-fork", 0, NULL, 'N' }, { "output-pid", 0, NULL, 'P' }, @@ -1763,6 +1764,7 @@ static struct option options[] = { { NULL, 0, NULL, 0 } }; extern void dump_conn(struct connection *conn); +int dom0_event = 0; int main(int argc, char *argv[]) { @@ -1820,6 +1822,9 @@ int main(int argc, char *argv[]) case 'W': quota_nb_watch_per_domain = strtol(optarg, NULL, 10); break; + case 'e': + dom0_event = strtol(optarg, NULL, 10); + break; } } if (optind != argc) |