On Mon, Aug 28, 2006 at 04:03:14AM -0400, Daniel Veillard wrote:
On Mon, Aug 28, 2006 at 12:16:43AM +0100, Daniel P. Berrange wrote:
> + * "start" command
> + */
> +static vshCmdInfo info_start[] = {
> + {"syntax", "start a domain from an XML <file>"},
> + {"help", "start a domain from an XML file"},
> + {"desc", "Start a domain."},
> + {NULL, NULL}
> +};
I wonder here about the Xen case. We should soonish have code to read
the /etc/xen config files, it would make some sense to be able to use the
start command to launch those then, unless you really want to force converting
to XML to define. I understand that currently the API allows to define only
based on an XML description, but wouldn't it make sense to automatically
integrate parseable /etc/xen definition files ?
The description also lead to think one should pass an XML instance path,
what about changing those to:
"start a defined but non-running domain" ?
I fixed the description when commiting this change - it no longer refers
to XML file here since they're irrelevant to the start command - it was a copy
and paste mistake from the 'define' command.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|