Xen to KVM using Virt-v2v
I have a CentoS Host 5.5 running Xen kernel and a CentOs 5.5 Guest VM running on Xen Hypervisor. I wanted to convert this Guest to KVM so I installed Virt-v2v on the Host by subscribing to fedora repo( couldnt find Virt-v2v for CentOS ) The installation was fine .
I modified the network section of the sample virt-v2v.conf according to my Bridge.
Just for ur info the Guest VM is named xen2kvm.
Then as mentioned in the man pages of virt-v2v, I created the xmldump file of the Guest VM and called it xen2kvm.xml
Then I ran the command
[root@localhost ~]# virt-v2v -f /etc/virt-v2v.conf -i libvirtxml /etc/xen2kvm.xml
AND GOT THIS FOLLOWING ERROR:
Can't call method "findnodes" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Connection.pm line 120.
This is a perl error i think . Any clues ?