Remove guestfs_wait_ready (turn it into a no-op).
authorRichard Jones <rjones@trick.home.annexia.org>
Mon, 21 Sep 2009 10:52:53 +0000 (11:52 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Mon, 21 Sep 2009 11:01:51 +0000 (12:01 +0100)
commit8869adf1e811d894088dbb0f371edc23299005c8
tree6c0229f90c81f03f6e989cdd57e20b114a437d41
parent62b322872543c2ec069ac4fb0103ab758f587cef
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.
28 files changed:
TODO
cat/virt-cat.pl
df/virt-df.pl
examples/hello.c
examples/to-xml.c
fish/fish.c
guestfs.pod
haskell/Guestfs010Launch.hs
haskell/Guestfs050LVCreate.hs
inspector/virt-inspector.pl
java/t/GuestFS010Launch.java
java/t/GuestFS050LVCreate.java
ocaml/examples/lvs.ml
ocaml/t/guestfs_010_launch.ml
ocaml/t/guestfs_050_lvcreate.ml
ocaml/t/guestfs_060_readdir.ml
perl/examples/lvs.pl
perl/lib/Sys/Guestfs/Lib.pm
perl/t/050-lvcreate.t
perl/t/060-readdir.t
perl/t/510-lib-file-arch.t
python/t/010-launch.py
python/t/050-lvcreate.py
ruby/tests/tc_050_lvcreate.rb
ruby/tests/tc_rhbz507346.rb
src/generator.ml
src/guestfs.c
test-tool/test-tool.c