X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fguestfs.pod;h=de5e254372580408a254c5981be840c0f9b5c600;hp=43b74603ac05e8778e1159bc1289f8f041cada9f;hb=ffd4820ffe953b0583e3a9357e37d74bed3a2320;hpb=e2ef068cb7d18f0c0d4931f97332a38ea4ea2477;ds=sidebyside diff --git a/src/guestfs.pod b/src/guestfs.pod index 43b7460..de5e254 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 @@ -1535,6 +1549,9 @@ Only use the handle from a single thread. Either use the handle exclusively from one thread, or provide your own mutex so that two threads cannot issue calls on the same handle at the same time. +See the graphical program guestfs-browser for one possible +architecture for multithreaded programs using libvirt and libguestfs. + =head1 QEMU WRAPPERS If you want to compile your own qemu, run qemu from a non-standard