Description of problem: $ wget http://download.cirros-cloud.net/daily/20161201/cirros-d161201-x86_64-disk.img $ virt-inspector cirros-d161201-x86_64-disk.img <?xml version="1.0"?> <operatingsystems/> Version-Release number of selected component (if applicable): libguestfs-tools-c-1.35.18-1.fc26.x86_64 How reproducible: 100% Steps to Reproduce: 1. See above.
Created attachment 1241121 [details] virt-inspector -v -x output
I should say that this bug was originally reported on IRC by Nadav Goldin from Red Hat.
It looks like this version has just a minimal / partition with grub1 (in /boot), kernel, and initrd -- all the system is within the initrd.
I think this can be closed, the official CirrOS 0.3.5 works: virt-inspector cirros-0.3.5-x86_64-disk.img <?xml version="1.0"?> <operatingsystems> <operatingsystem> <root>/dev/sda1</root> <name>linux</name> <arch>x86_64</arch> <distro>cirros</distro> <product_name>0.3.5</product_name> <major_version>0</major_version> <minor_version>3</minor_version> <hostname>cirros</hostname> <format>installed</format> <mountpoints> <mountpoint dev="/dev/sda1">/</mountpoint> </mountpoints> <filesystems> <filesystem dev="/dev/sda1"> <type>ext3</type> <label>cirros-rootfs</label> <uuid>35a2ae36-b422-4230-9c8c-0bbf24dd684b</uuid> </filesystem> </filesystems> <applications/> </operatingsystem> </operatingsystems> Back then I used a not officially released image, not sure if it was a bug in libguestfs or a broken image, either way, thanks!
Closing per comment 4. Thanks for testing it!