I released libguestfs 0.8 yesterday, the library for accessing virtual machines. This version fixes a large number of bugs, because I wrote a test suite which sends several hundred commands through the library and verifies the results. Took a couple of days to fix all the bugs this found …
Here are some interesting [...]
Posts Tagged as ‘lvm’
April 12, 2009
libguestfs 0.8, now with fewer bugs :-)
April 8, 2009
libguestfs perl bindings
You can now use Perl to examine and modify virtual machine disk images through libguestfs, as in this example:
#!/usr/bin/perl -w
use strict;
use Sys::Guestfs;
# Look for LVM LVs, VGs and PVs in a guest image.
die “Usage: lvs.pl guest.img\n” if @ARGV != 1 || ! -f $ARGV[0];
my $h = Sys::Guestfs->new ();
$h->add_drive ($ARGV[0]);
print “Launching, this can take a few [...]
April 7, 2009
libguestfs: LVM support
libguestfs is the library I’m writing that lets you examine and modify any virtual machine disk image, offline or online.
I spent about 18 hours finding a bug in the LVM parsing code, but that bug has now been squashed and as of version 0.4 on the website you can examine PVs, VGs and LVs, as [...]