[Users] importing a kvm.img to ovirt

Rene Rosenberger r.rosenberger at netbiscuits.com
Wed Mar 28 12:45:11 UTC 2012


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/66cb5707/attachment-0001.html>


More information about the Users mailing list