I'm pretty relaxed about you making changes to this example as you
wish, and althouh I didn't review them in detail it all looks good, so ACK.
I wonder though if the example is now too complicated(!) Perhaps it'd
be good to add a second, very basic example using libev?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org