[Libguestfs] [PATCH 0/2] virt-tar and virt-ls

Richard W.M. Jones rjones at redhat.com
Tue Oct 20 09:38:24 UTC 2009


These are general updates to:

https://www.redhat.com/archives/libguestfs/2009-October/msg00037.html
[Libguestfs] [PATCH 4/5] New tool: virt-tar

and:

https://www.redhat.com/archives/libguestfs/2009-October/msg00038.html
[Libguestfs] [PATCH 5/5] New tool: virt-ls

The code uses die "prog: ...\n".

The parameters to virt-tar are swapped so they always go in source ->
destination order, ie:

  virt-tar -zx myguest /home home.tar.gz
  virt-tar -zu myguest uploadstuff.tar.gz /tmp

and these parameters are checked for sanity which should make it
harder to make mistakes.  (The guest name still has to come first
because of other limitations).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list