xl: Allow use of /dev/null with xl create to enable command-line definition
authorW. Michael Petullo <mike@flyn.org>
Wed, 4 Jul 2012 14:46:15 +0000 (15:46 +0100)
committerW. Michael Petullo <mike@flyn.org>
Wed, 4 Jul 2012 14:46:15 +0000 (15:46 +0100)
commitecf5a746f16fcbe8bb1e77c8463455d0e6c85e46
tree7619c0a24931c3c73dfda71ef4fb4e461a198ee2
parent827fbaa64b1c3540edd202fe393896a6c4775a80
xl: Allow use of /dev/null with xl create to enable command-line definition

xm allows specifying /dev/null as the domain configuration argument to its
create option; add same functionality to xl. xl treats the configuration
argument /dev/null as a special case.  This allows specifying an entire
domain configuration on the command line.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- ported to xen-unstable from 4.1 ]
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c