This all appears to work. I built my own libvirt with the three
remaining patches and was able to read pCPU information for a running
domain.
I have pushed the required bits upstream in ocaml-libvirt and
virt-top:
http://git.annexia.org/?p=ocaml-libvirt.git;a=summary
http://git.annexia.org/?p=virt-top.git;a=summary
(ocaml-libvirt >= 0.6.1.1 and virt-top >= 1.0.7)
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