Files
libguestfs/perl/examples
Richard Jones 8869adf1e8 Remove guestfs_wait_ready (turn it into a no-op).
This commit changes guestfs_launch so that it both launches
the appliance and waits until it is ready (ie. the daemon communicates
back to us).

Since we removed the pretence that we could implement a low-level
asynchronous API, the need to call launch() followed by wait_ready()
has looked a bit silly.

Now guestfs_wait_ready() is basically a no-op.  It is left in the
API for backwards compatibility.  Any calls to guestfs_wait_ready()
can be removed from client code.
2009-09-21 12:01:51 +01:00
..

This directory contains various example programs which use the perl
Sys::Guestfs bindings to the libguestfs API.

As they are examples, these are licensed so they can be freely copied
and used without any restrictions.

Tips:

(1) To enable verbose messages, set environment variable LIBGUESTFS_DEBUG=1

(2) To run a program without installing the library, set PERL5LIB and
LIBGUESTFS_PATH as in this example (if run from the root directory of
the source distribution):

  LIBGUESTFS_PATH=$(pwd)/appliance \
  PERL5LIB=$(pwd)/perl/blib/lib:$(pwd)/perl/blib/arch/auto/Sys/Guestfs \
  perl/examples/foo