Description of problem: When virt-v2v is run, inspection gives a very odd error: LIBGUESTFS_ATTACH_METHOD=appliance \ virt-v2v -ic xen+ssh://aa.bb.cc.dd -os default xen-pv-rhel4.9-i386 Version-Release number of selected component (if applicable): Reported on RHEL 7 & Fedora 18. Additional info: Threads about this on the upstream mailing list: https://www.redhat.com/archives/libguestfs/2013-February/msg00144.html https://www.redhat.com/archives/libguestfs/2013-March/msg00000.html
I had the same error and am providing the trace below. Fedora 18 latest update as of 3/5/13 stone-v4: 100% [=====================================================]D 0h54m39s libguestfs: trace: set_attach_method "appliance" libguestfs: trace: set_attach_method = 0 libguestfs: trace: add_drive "/var/lib/libvirt/images/stone-v4" "format:raw" "iface:ide" "name:xvda" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive "/tmp/PKKXoKFY2u" "readonly:true" "format:raw" "iface:ide" libguestfs: trace: add_drive = 0 libguestfs: trace: set_network true libguestfs: trace: set_network = 0 libguestfs: trace: launch libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: trace: launch = 0 libguestfs: trace: list_devices libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"] libguestfs: trace: inspect_os libguestfs: trace: umount_all libguestfs: trace: umount_all = 0 libguestfs: trace: list_devices libguestfs: trace: list_devices = ["/dev/sda", "/dev/sdb"] libguestfs: trace: vfs_type "/dev/sda" libguestfs: trace: vfs_type = "" libguestfs: trace: isoinfo_device "/dev/sda" libguestfs: trace: isoinfo_device = NULL (error) libguestfs: trace: mount_ro "/dev/sda" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sdb" libguestfs: trace: vfs_type = "iso9660" libguestfs: trace: isoinfo_device "/dev/sdb" libguestfs: trace: isoinfo_device = <struct guestfs_isoinfo *> libguestfs: trace: inspect_os = NULL (error) libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 inspect_os: mount_ro: /dev/sda on / (options: 'ro'): mount: /dev/sda is already mounted or /sysroot busy at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 194. at /usr/bin/virt-v2v line 672.
I'm going to assume this is fixed in the latest release, as I have not seen this error during a lot of recent testing.