From: Richard Jones Date: Thu, 9 Sep 2010 12:52:48 +0000 (+0100) Subject: guestfs: Document progress notification messages in protocol. X-Git-Tag: 1.5.10~10 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b1454e38987473c94f20b10061031f2abe5a69a0;p=libguestfs.git guestfs: Document progress notification messages in protocol. --- diff --git a/src/guestfs.pod b/src/guestfs.pod index 43b7460..97b9282 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -1526,6 +1526,20 @@ When the daemon launches it sends an initial word (C) which indicates that the guest and daemon is alive. This is what L waits for. +=head3 PROGRESS NOTIFICATION MESSAGES + +The daemon may send progress notification messages at any time. These +are distinguished by the normal length word being replaced by +C, followed by a fixed size progress message. + +The library turns them into progress callbacks (see +C) if there is a callback registered, +or discards them if not. + +The daemon self-limits the frequency of progress messages it sends +(see C). Not all calls generate +progress messages. + =head1 MULTIPLE HANDLES AND MULTIPLE THREADS All high-level libguestfs actions are synchronous. If you want