Rewrite virt-cat in C.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 11 Nov 2010 14:53:51 +0000 (14:53 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 11 Nov 2010 16:56:43 +0000 (16:56 +0000)
commitd29e9a552f5823d1d8cb8d4962cb1301bbf60b0e
tree02e375395b90ebc0f1485e336110defef8422ee2
parent4d900cdac8258daa2e99c6ceb2a4985154e94150
Rewrite virt-cat in C.

With changes in the core API since 1.5, virt-cat was little
more than a Perl wrapper which did some command line argument
processing.  Thus it could easily be rewritten in C.

This version also shares core command line argument processing
with guestfish and guestmount, so the options have changed
slightly (old-style command line *is* supported).

 virt-cat -a disk.img file [file ...]
 virt-cat -d domname file [file ...]

Several other guestfish options are supported including encryption,
and with the new style multiple files can be downloaded.  See the
man page for details.
12 files changed:
.gitignore
HACKING
Makefile.am
cat/Makefile.am [new file with mode: 0644]
cat/run-cat-locally [new file with mode: 0755]
cat/test-virt-cat.sh [moved from tools/test-virt-cat.sh with 100% similarity]
cat/virt-cat.c [new file with mode: 0644]
cat/virt-cat.pod [new file with mode: 0755]
configure.ac
po/POTFILES.in
tools/Makefile.am
tools/virt-cat [deleted file]