$ virt-list-filesystems Debian5×64.img
/dev/debian5×64/home
/dev/debian5×64/root
/dev/debian5×64/tmp
/dev/debian5×64/usr
/dev/debian5×64/var
/dev/sda1
You can also augment this tool with the -a and -l options. The -a option tells it to list swap partitions too. The -l option tells it to show the filesystem type on each partition that was found:
$ virt-list-filesystems -a -l Fedora12.img
/dev/sda1 ext4
/dev/vg_f12×64/lv_root ext4
/dev/vg_f12×64/lv_swap swap
While this is a fairly simple tool, [...]