xl: xl -N create -d sends json output to stdout, not stderr
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 3 Jul 2015 11:42:40 +0000 (12:42 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 3 Jul 2015 13:43:11 +0000 (14:43 +0100)
commitd26cf404befff4f39ad095d6b03759c807b2b1fe
treeae3641c1d8fa48461788e88d9be5fea62a85bdb9
parent75be4d1965c96bf4df5940f0f90212ceeecadb34
xl: xl -N create -d sends json output to stdout, not stderr

                            domain config output goes to
                              before       after

  xl    create                nowhere      nowhere
  xl    create -d             stderr       stderr

  xl -N create                stdout       stdout
  xl -N create -d             stderr       stdout

It is not sensible that adding -d would cause different output on
stdout.  And that -N would produce less debug output is hardly
surprising in general and not really a problem in this case.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: New patch in this version of the mini-series.
tools/libxl/xl_cmdimpl.c