> The rest of the code is screaming out to be refactored so we
aren't
> repeating the same change over and over. How about using something
> like the attached patch as an initial refactoring?
Very nice, do you want to push it? I can include it in v2.
Yes I'll push it now.
Will think about the rest of your email later!
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top