[Users] qcow2 image import.

Richard W.M. Jones rjones at redhat.com
Mon Aug 20 07:25:37 UTC 2012


On Mon, Aug 20, 2012 at 07:47:26AM +0300, Itamar Heim wrote:
> On 08/19/2012 11:42 PM, Andres Gonzalez wrote:
> >
> >On Sun, Aug 19, 2012 at 1:31 PM, Itamar Heim <iheim at redhat.com
> ><mailto:iheim at redhat.com>> wrote:
> >
> >    On 08/19/2012 01:22 PM, Omer Frenkel wrote:
> >             *From: *"Andres Gonzalez" <tuchoz at gmail.com
> >        <mailto:tuchoz at gmail.com>>
> >             *To: *users at ovirt.org <mailto:users at ovirt.org>
> >             *Sent: *Saturday, August 18, 2012 5:30:34 AM
> >             *Subject: *[Users] qcow2 image import.
> >
> >
> >             Hello !!
> >
> >             I'm wondering if it's possible to import a VM disk on qcow2
> >        format
> >             on oVirt to use it as a VM hard disk.
> >             The idea is to import a VMWare (vmdk) o Xen (ova) virtual
> >        hdd on oVirt.
[...]
> >As could could see virt-v2v converts VMWare ESX/ESXi VMs, but I have on
> >VMWare Server 2.x.
> >Also I have Citrix XenServer VMs.
> >
> 
> matt/rich - any pointers on converting these?

Virt-v2v cannot convert from the OVF + disk image at the moment.
We'll probably support this in future now that support for VMDK in
qemu is working better.

Also there's no support for conversion from Citrix Xen.  It's also on
the wishlist.

If you have the original ESX server then you can convert from that.

Alternately just convert the image using qemu-img, and it may work.
The drivers will be all wrong, but it may be possible to fix those up
by hand (using libguestfs if it doesn't boot).

Note that older versions of qemu were known to silently corrupt VMDK
files when you converted them, so check the result before deleting the
original.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v



More information about the Users mailing list