Description of problem: ><fs> add-drive /dev/vg_mbooth_t500_2/RHEL52PV32 ><fs> add-cdrom /var/lib/virt-v2v/transfer.iso ><fs> launch ><fs> list-devices /dev/sr0 /dev/vda Note that the cd-rom device was added second, but is listed first. The code is simply doing an alphanumeric sort, which won't work if the devices have different prefixes. Version-Release number of selected component (if applicable): libguestfs-1.0.83-5.fc13.x86_64
Product should be 'Virtualization Tools'.
(In reply to Matthew Booth from comment #0) > Description of problem: > ><fs> add-drive /dev/vg_mbooth_t500_2/RHEL52PV32 > ><fs> add-cdrom /var/lib/virt-v2v/transfer.iso > ><fs> launch > ><fs> list-devices > /dev/sr0 > /dev/vda This small sequence currently crashes in the device sorting code (sort_device_names). > Note that the cd-rom device was added second, but is listed first. > > The code is simply doing an alphanumeric sort, which won't work if the > devices have different prefixes. This (and the above) gets fixed by making CD-ROM disks as normal drives; patch proposed to the mailing list: https://www.redhat.com/archives/libguestfs/2013-December/msg00075.html
Fixed upstream with: https://github.com/libguestfs/libguestfs/commit/2392fae6803b9de4a4761509007c160339d57f50 which is in libguestfs >= 1.25.16.