Hi, You could use libguestfs tools to add the virtio driver to the Xen VM's image virt-v2v connects to the other virt's hypervisor i think to start the automated conversion,I don't think you can convert images with it.. qemu-img and libguestfs are your friends.. qemu-img convert image.vmdk image.img then use libguestfs tools to edit the image so it has either the virtio drivers installed (if you want to use virtio on RHEV) or the vmware drivers removed (if you use IDE on RHEV) Afterwards dd the image to the disk image on RHEV. I used rsync to migrate Xen paravirt guests to KVM (vnot sure if you have Xen ) I have to add this docs to my blog if i find the time to do it. Regards, Vincent Vincent Van der Kussen System Engineer direct: +32 3 369 01 93 Vincent.VanderKussen@xxxxxxxxxxxxxxx BTR Services Groene Hofstraat 31 2850 Boom Belgium www.btr-services.be tel: +32 3 450 89 80 fax: +32 3 450 89 89 - DISCLAIMER - This message contains confidential information and is intended only for redhat-list@xxxxxxxxxxx If you are not redhat-list@xxxxxxxxxx, you should not disseminate, distribute or copy this e-mail. Please notify Vincent.VanderKussen@xxxxxxxxxxxxxxx immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Vincent Van der Kussen therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------------------------- ________________________________________ From: redhat-list-bounces@xxxxxxxxxx [redhat-list-bounces@xxxxxxxxxx] On Behalf Of ESGLinux [esggrupos@xxxxxxxxx] Sent: Friday, November 12, 2010 11:23 To: General Red Hat Linux discussion list Subject: Re: problem converting a vmware image to kvm using virt-v2v Hi, Yes I did, i have found my problem. I have not ESX so It does not work. I have vmare-server. when finally I get a normal error I get this: virt-v2v -f /etc/virt-v2v.conf -ic esx://192.168.1.94:8333/?no_verify=1 -o rhev -osd 192.168.1.230:/exportDomain MACHINE1 virt-v2v: Fail to connecct to esx://192.168.1.94:8333/?no_verify=1: libvirt error code: 1, message: internal error 192.168.1.94 is neither an ESX 3.5 host nor an ESX 4.0 host What I´m doing now is converting the vmdk image to xen, using: http://wiki.xensource.com/xenwiki/VMDKImage and when I have the xen image, I use virt-v2v to convert to kvm. I think this way i´m going to be sucessfull (although i need to make 2 conversions instead of only one) What do you think? ESG 2010/11/11 Vincent Van der Kussen <Vincent.VanderKussen@xxxxxxxxxxxxxxx> > Hi, > > did you chmod 600 tje .netrc file? > > Regards, > Vincent. > > > Vincent Van der Kussen > System Engineer > direct: +32 3 369 01 93 > Vincent.VanderKussen@xxxxxxxxxxxxxxx > > BTR Services > Groene Hofstraat 31 > 2850 Boom > Belgium > www.btr-services.be > tel: +32 3 450 89 80 > fax: +32 3 450 89 89 > > > > - DISCLAIMER - > This message contains confidential information and is intended only for > redhat-list@xxxxxxxxxxx If you are not redhat-list@xxxxxxxxxx, you should > not disseminate, distribute or copy this e-mail. Please notify > Vincent.VanderKussen@xxxxxxxxxxxxxxx immediately by e-mail if you have > received this e-mail by mistake and delete this e-mail from your system. > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive late or > incomplete, or contain viruses. Vincent Van der Kussen therefore does not > accept liability for any errors or omissions in the contents of this > message, which arise as a result of e-mail transmission. If verification is > required please request a hard-copy version. > -------------------------------------------------------------------------- > > ________________________________________ > > From: redhat-list-bounces@xxxxxxxxxx [redhat-list-bounces@xxxxxxxxxx] On > Behalf Of ESGLinux [esggrupos@xxxxxxxxx] > Sent: Thursday, November 11, 2010 1:18 PM > To: General Red Hat Linux discussion list > Subject: problem converting a vmware image to kvm using virt-v2v > > Hi all, > > I´m migrating all of my virtual machines to the KVM format using the > virt-v2v tool, > > With the xen images I have not problems but when I try to convert the > vmware > images I get this error: > > virt-v2v -f /etc/virt-v2v.conf -ic esx://192.168.1.94/?no_verify=1 -o > rhev > -osd 192.168.1.230:/exportDomain MACHINE1 > virt-v2v: Fail to connect to esx://192.168.1.94/?no_verify=1: libvirt > error > code: 1, message: error interno curl_easy_perform() returned an error: > couldn't connect to server (7) : couldn't connect to host > > I have configured .netrc as the documentation tells: > > machine esx.example.com login root password s3cr3t > > (of course with my own data) > > If I change the configuration on the .netrc file I get oher errors: > Username request failed > Password request failed > > so I suposse the authentication is not the problem, > > I have not idea about what is wrong because virt-v2v does not give extra > information and the server doesn´l log anything (or I don´t find it) > > Any help? > > Thanks in advance > > ESG > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list