Allow virsh to use stdin for xml and other config file input when
otherwise it would have required a file input. This allows for easier
passing of configs through pipes, for example:
virsh dumpxml 6 | ssh remote-host "virsh define"
Michael Williams (2):
Use '-' to read from stdin
Try stdin for input when no file is specified
src/util/util.c | 16 ++++++++-
tools/virsh.c | 99
+++++++++++++++++++++++++++++++++++--------------------
2 files changed, 78 insertions(+), 37 deletions(-)
--
1.7.3.4