Displaying 3 results from an estimated 3 matches for "main_domid".
Did you mean:
main_domain
2010 May 07
1
[PATCH 1/2]xl: Add "xl domid" command
...AP, --cap=CAP Cap (int)\n");
+ } else if (!strcmp(command, "domid")) {
+ printf("Usage: xl domid <DomainName>\n\n");
+ printf("Convert a domain name to domain id.\n");
}
}
@@ -2945,3 +2948,36 @@
exit(0);
}
+
+int main_domid(int argc, char **argv)
+{
+ int opt;
+ char *domname = NULL;
+
+ while ((opt = getopt(argc, argv, "h")) != -1) {
+ switch (opt) {
+ case ''h'':
+ help("domid");
+ exit(0);
+ default:
+ fprintf(stderr,...
2012 Apr 24
8
[PATCH v2] libxl: prevent xl from running if xend is running.
...ler parameters",
"[options]",
"-d DOMAIN, --domain=DOMAIN Domain to modify\n"
@@ -247,109 +247,109 @@ struct cmd_spec cmd_table[] = {
"-c CPUPOOL, --cpupool=CPUPOOL Restrict output to CPUPOOL"
},
{ "domid",
- &main_domid, 0,
+ &main_domid, 0, 0,
"Convert a domain name to domain id",
"<DomainName>",
},
{ "domname",
- &main_domname, 0,
+ &main_domname, 0, 0,
"Convert a domain id to domain name",
"<Do...
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.