Description of problem: If you run virt-inspector on something which isn't a disk image (or is blank or random) then it runs and produces no output and no error. Version-Release number of selected component (if applicable): 1.3.11 How reproducible: Always. Steps to Reproduce: 1. virt-inspector /dev/zero 2. echo $? 3. Actual results: Status is 0 and no error. Expected results: An error message. Additional info:
Patch posted upstream: https://www.redhat.com/archives/libguestfs/2010-May/msg00059.html $ virt-inspector /dev/zero No operating system could be detected inside this disk image. This may be because the file is not a disk image, or is not a virtual machine image, or because the OS type is not understood by virt-inspector. If you feel this is an error, please file a bug report including as much information about the disk image as possible. $ echo $? 2
libguestfs-1.2.6-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/libguestfs-1.2.6-1.fc13
libguestfs-1.2.7-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/libguestfs-1.2.7-1.fc12
libguestfs-1.2.7-1.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/libguestfs-1.2.7-1.el5
libguestfs-1.2.7-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/libguestfs-1.2.7-2.fc13
libguestfs-1.2.7-2.fc13.1 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/libguestfs-1.2.7-2.fc13.1