[PATCH 0/2] Update virsh to use stdin where appropriate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]