xenstore: modify init-xenstore-domain parameter syntax
authorJuergen Gross <jgross@suse.com>
Mon, 18 Jan 2016 08:03:58 +0000 (09:03 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 18 Jan 2016 16:34:20 +0000 (16:34 +0000)
commitd873eeb39949ec69fa92b10752226f2309c74157
tree16f05d8ebf7dfbdad11e22a7e1f8fb4855e8ca7e
parentbefd991a360da2b18226a96c2a1c3c09e0a6577f
xenstore: modify init-xenstore-domain parameter syntax

init-xenstore-domain takes only positional parameters today. Change
this to a more flexible parameter syntax allowing to specify additional
options or to omit some.

Today the supported usage is:

init-xenstore-domain <xenstore-kernel> <memory_mb> <flask-label>
                     [<ramdisk-file>]

Modify this to:

init-xenstore-domain --kernel <xenstore-kernel>
                     --memory <memory_mb>
                     [--flask <flask-label>]
                     [--ramdisk <ramdisk-file>]

The flask label is made optional in order to support xenstore domains
without the need of a flask enabled hypervisor.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/helpers/init-xenstore-domain.c