[Libguestfs] running libguestfs as a service?

Richard W.M. Jones rjones at redhat.com
Fri Apr 29 09:01:14 UTC 2011


On Fri, Apr 29, 2011 at 09:00:04AM +0100, Richard W.M. Jones wrote:
> On Fri, Apr 29, 2011 at 01:38:19AM -0400, T Johnson wrote:
> > g.sync()
> > g.umount_all()
> > g.close()

I've just noticed you're calling g.close() there, so include that call
in the bit between the print statements as well.

Also since the code for the Python bindings has changed quite a bit
recently, it would be useful to know which version you are running.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/



More information about the Libguestfs mailing list