summaryrefslogtreecommitdiffstats
path: root/perl/lib
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-09-21 11:52:53 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-09-21 12:01:51 +0100
commit8869adf1e811d894088dbb0f371edc23299005c8 (patch)
tree6c0229f90c81f03f6e989cdd57e20b114a437d41 /perl/lib
parent62b322872543c2ec069ac4fb0103ab758f587cef (diff)
downloadlibguestfs-8869adf1e811d894088dbb0f371edc23299005c8.tar.gz
libguestfs-8869adf1e811d894088dbb0f371edc23299005c8.tar.xz
libguestfs-8869adf1e811d894088dbb0f371edc23299005c8.zip
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.
Diffstat (limited to 'perl/lib')
-rw-r--r--perl/lib/Sys/Guestfs/Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm
index 96ada0d6..a9868e2a 100644
--- a/perl/lib/Sys/Guestfs/Lib.pm
+++ b/perl/lib/Sys/Guestfs/Lib.pm
@@ -100,7 +100,7 @@ read-write handle, this function will refuse to use active libvirt
domains.
The handle is still in the config state when it is returned, so you
-have to call C<$g-E<gt>launch ()> and C<$g-E<gt>wait_ready>.
+have to call C<$g-E<gt>launch ()>.
The optional C<address> parameter can be added to specify the libvirt
URI. In addition, L<Sys::Virt(3)> lists other parameters which are