[Libguestfs] Re: libguestfs performance

Richard W.M. Jones rjones at redhat.com
Mon Dec 7 13:16:39 UTC 2009


On Mon, Dec 07, 2009 at 09:57:08AM +0000, Richard W.M. Jones wrote:
> ><fs> debug sh "tar xcf /cd/the_tarball.tar.gz /guest"

xcf?  I mean zxf.

Using debug sh is a hack.  If you want to do it this way we should
add a structured API call to pack and unpack local tarballs.

However I would still recommend the 'dd+resize' approach, as it will
always be much faster.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list