I have pushed this, this is just FYI. See the end of the patch
for the new type and functions introduced into the generator.
Passes all the tests, but should still be treated with a bit
of suspicion.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org