Read the README file at the top of this patch first. Problems I see with GObject Introspection: (1) Requires that your code uses GObject; obvious in hindsight given the name. In this case, it seems that we'd have to "register" the guestfs_h structure with GObject (whatever that means). (2) Cannot convert C error codes into exceptions automatically. So all your high level code has to check return values -- ugh. (3) Poor type system (although at least it does have a concept of non-nullable types). For example, you cannot express 31 bit ints, or range types, dependent types, constructed types, etc etc etc. So I think it's OK if your code depends on glib, but for general C interfaces I cannot see this catching on at the moment. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v