[Users] importing a kvm.img to ovirt
Rene Rosenberger
r.rosenberger at netbiscuits.com
Wed Mar 28 13:24:12 UTC 2012
Hi,
i have now converted with this command:
virt-v2v -i libvirtxml -o rhev -osd 192.168.xxx.xxx:/nfsexport --network rhevm test.xml
when I click on vm import in ovirt I get the following error message:
Failed to read VM 'test' OVF, it may be corrupted.
Any ideas what could be wrong?
Regards, rene
Von: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] Im Auftrag von Rene Rosenberger
Gesendet: Mittwoch, 28. März 2012 14:45
An: Michal Kopacki
Cc: users at ovirt.org
Betreff: Re: [Users] importing a kvm.img to ovirt
Hi,
would this be ok:
<domain type='kvm'>
<name>test</name>
<uuid>4dea24b3-1d52-d8f3-2516-782e98a23fa0</uuid>
<memory>1024</memory>
<vcpu>1</vcpu>
<os>
<type arch="x86_64">hvm</type>
</os>
<clock sync="localtime"/>
<devices>
<emulator>/usr/bin/qemu-kvm</emulator>
<disk type='file' device='disk'>
<source file='/var/lib/libvirt/images/test.img'/>
<target dev='hda'/>
</disk>
<interface type='network'>
<source network='default'/>
<mac address='24:42:53:21:52:45'/>
</interface>
<graphics type='vnc' port='-1' keymap='de'/>
</devices>
</domain>
How to import this via virt-2v2?
Regards, rene
Von: Michal Kopacki [mailto:mkopacki at gmail.com]
Gesendet: Mittwoch, 28. März 2012 14:39
An: Rene Rosenberger
Cc: users at ovirt.org
Betreff: Re: AW: [Users] importing a kvm.img to ovirt
On 03/28/2012 02:35 PM, Rene Rosenberger wrote:
Hi,
how do i create such an xml file. Is somewhere an example or a generator.
Regards, rene
http://libvirt.org/drvqemu.html#xmlconfig - at the bottom
--
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120328/30ddd43b/attachment-0001.html>
More information about the Users
mailing list