[Libguestfs] libguestfs fails on FreeBSD9.3, MINIX3 qcow2 images

Richard W.M. Jones rjones at redhat.com
Thu Sep 18 18:47:00 UTC 2014


On Thu, Sep 18, 2014 at 11:38:09AM -0400, Assaf Gordon wrote:
> Hello Richard and all,
> 
> (continuing from https://www.redhat.com/archives/libguestfs/2014-September/msg00112.html ).
> 
> I'm experimenting with libguestfs on non-linux VMs, encountered errors on FreeBSD9.3 and MINIX3 (and few others, but these ones are easy to share), with host Ubuntu 14.04.01 LTS x86-64.
> 
> Attached are logs from "virt-inspector -v -x" for each VM.

Thanks -- both of these are inspection bugs.  I have filed there here:

https://bugzilla.redhat.com/show_bug.cgi?id=1144137
https://bugzilla.redhat.com/show_bug.cgi?id=1144138

Note that you can do useful things with libguestfs without necessarily
needing inspection to work.  Libguestfs will open any disk image, but
without inspection you won't be able to detect OSes in the disk image
nor map devices to mountpoints, unless you do it yourself.

The first bug (Minix) is likely quite easy to fix actually.  I suspect
that adjusting this function would do it:

https://github.com/libguestfs/libguestfs/blob/master/src/inspect-fs-unix.c#L1489

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




More information about the Libguestfs mailing list