I just pushed a new release of libguestfs 1.0.57.
Home page: http://libguestfs.org/
Downloads: http://libguestfs.org/download/
Git repo: http://git.et.redhat.com/?p=libguestfs.git;a=summary
New features:
- virt-df, like 'df' for virtual machines:
# virt-df -h
Filesystem Size Used Available Use%
Ubuntu904x64:/dev/sda1 9.4G 2.1G 6.8G 27.7%
Debian5x64:/dev/debian5x64/home 3.4G 761.9M 2.5G 27.0%
Debian5x64:/dev/debian5x64/root 321.5M 111.1M 193.8M 39.7%
Debian5x64:/dev/debian5x64/tmp 302.1M 10.0M 276.5M 8.5%
Debian5x64:/dev/debian5x64/usr 3.4G 1.1G 2.1G 38.3%
Debian5x64:/dev/debian5x64/var 1.7G 612.6M 1001.9M 41.1%
Debian5x64:/dev/sda1 227.9M 18.6M 197.1M 13.5%
F10x32:/dev/VolGroup00/LogVol00 8.8G 3.1G 5.2G 40.3%
F10x32:/dev/sda1 189.9M 20.2M 159.9M 15.8%
CentOS5x32:/dev/VolGroup00/LogVol00 8.6G 3.9G 4.2G 50.6%
CentOS5x32:/dev/sda1 98.7M 23.5M 70.1M 29.0%
Win2003x32:/dev/sda1 20.0G 2.1G 17.9G 10.4%
- New Perl library called Sys::Guestfs::Lib which contains useful
additional functions that we use to implement virt-df, virt-inspector
and (soon) virt-v2v.
Some important fixes:
http://git.et.redhat.com/?p=libguestfs.git;a=commit;h=03e1f74ee08dc71bc09cc7655bf4732685f80b43
- This fixes a segfault when you reopened a handle inside the same
process.
http://git.et.redhat.com/?p=libguestfs.git;a=commit;h=ca75b55ec25f8ae3463702f16cdeb95ebde2916a
- This fixes the return value from the Perl functions stat and statvfs.
Please ignore the 'virt-v2v' program for now. This is
work-in-progress.
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/