[Libguestfs] Virtio: 32bit CentOS 6.4 on VirtualBox to oVirt on Fedora 19 64bit via virt-v2v
Matthew Booth
mbooth at redhat.com
Fri Nov 15 14:37:20 UTC 2013
On Fri, 2013-11-15 at 14:26 +0000, Owen Williams wrote:
> Matt,
>
> On Fri, 2013-11-15 at 14:05 +0000, Matthew Booth wrote:
> > On Fri, 2013-11-15 at 10:47 +0000, Owen Williams wrote:
> > > Hello,
> > > I've trying to move a 32bit CentOS 6.4 on VirtualBox to oVirt on
> > > Fedora 19 64bit via virt-v2v. The command I'm currently using is:
> > >
> > > virt-v2v -i libvirtxml -of qcow2 -oa sparse -o rhev -osd
> > > xxx.xxx.xxx.xxx:/usr/local/ovirt/exports --network
> > > ovirtmgmt /usr1/home/williams/Downloads/OpenAthens/VMs/OpenAthensLARuntime2.2.xml
> > >
> > > The exciting bit of the XML is:
> > >
> > > <devices>
> > > <emulator>/usr/bin/qemu-kvm</emulator>
> > > <disk type='file' device='disk' snapshot='no'>
> > > <source
> > > file='/usr1/home/williams/Downloads/OpenAthens/VMs/OpenAthens_LA_Runtime_2.2.img'/>
> > > <target dev='vda' bus='virtio'/>
> > > <alias name='virtio-disk0'/>
> > > </disk>
> > > </devices>
> > >
> > > The image is a RAW (taken from the working VirtualBox install) but I
> > > have tried the original image with the same result:
> > >
> > > virtio configured, but no virtio kernel found
> > > at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm
> >
> > Hi, Owen,
> >
> > Could you please pastebin the output of the conversion run with the
> > environment variable LIBGUESTFS_TRACE=1.
> >
> > Thanks,
> >
> > Matt
> >
>
> Done but with LIBGUESTFS_DEBUG=1 (I already had it) :
>
> http://pastebin.com/ZUQ9BMzP
Unfortunately the DEBUG and TRACE output is very different.
> Anyway, I have a working VM now. I added:
>
> <capability os='linux' name='kernel' distro='centos' major='6'
> minor='4' arch='i686'>
> <dep name='kernel' minversion='2.6.18-128.el5'/>
> <dep name='lvm2' minversion='2.02.40-6.el5'/>
> <dep name='selinux-policy-targeted' minversion='2.4.6-203.el5'
> ifinstalled='yes'/>
> </capability>
>
> to /var/lib/virt-v2v/virt-v2v.db
That looks like a red herring, as it would never be used.
I'd still be interested in the LIBGUESTFS_TRACE output, but don't worry
if you just want to move on.
Matt
More information about the Libguestfs
mailing list