Currently virt-inspector takes ages to run on RHEL 3 guests.
I tracked this down to processing the old-style initrd images in these
guests. These initrd images are compressed ext2 filesystems. 'cpio'
tries to parse them as cpio files, and takes a very long time to fail
(and spews out a lot of errors in the process).
These two patches fix the problem: Firstly we introduce a new command
'zfile' for doing the 'file' operation inside compressed files. eg:
guestfs_zfile (g, "gzip", "/boot/initrd.img")
==> "Linux rev 1.0 ext2 filesystem data"
Second patch updates Sys::Guestfs::Lib to ignore such files.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/