[libvirt-users] from vmdk to kvm

Valerio Felici valerio at bgweb.it
Sat Apr 10 06:29:38 UTC 2010


Hi, I will try to explain my case, I hope this is rigth place to do it.

My goal is migrate an Ubuntu 9.10 64bit VMWare VM from a Win2k8 64bit 
server to an Ubuntu 9.10 64bit server.

Following some tutorials I've got a .qcow2 file from .vmdk and a .xml 
file from .vmx file

Running virsh define/start all was fine, but VM is unaccessible: no 
ping, no ssh, also from hosting server.


This is content of .xml file

<domain type='kvm'>
   <name>Ubuntu9.04-Zimbra</name>
   <uuid>7f86897d-5eac-47d6-970d-c2639d58c340</uuid>
   <memory>2621440</memory>
   <currentMemory>2621440</currentMemory>
   <vcpu>1</vcpu>
   <os>
     <type arch='x86_64' machine='pc-0.11'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
     <acpi/>
   </features>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
   <on_crash>destroy</on_crash>
   <devices>
     <emulator>/usr/bin/kvm</emulator>
     <disk type='file' device='disk'>
       <source file='/opt/Plone/Ubuntu9.04-Zimbra.qcow2'/>
       <target dev='hda' bus='ide'/>
     </disk>
     <interface type='bridge'>
       <mac address='00:0c:29:82:5c:36'/>
       <source bridge='br0'/>
       <model type='virtio'/>
     </interface>
     <interface type='bridge'>
       <mac address='00:0c:29:82:5c:40'/>
       <source bridge='br0'/>
       <model type='virtio'/>
     </interface>
     <input type='mouse' bus='ps2'/>
     <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
     <video>
       <model type='cirrus' vram='9216' heads='1'/>
     </video>
   </devices>
</domain>


Starting VM, corrisponding on two interfaces declared, vnet1 e vnet2 are 
showed in ifconfig (vnet0 is for another VM) but "brctl showmacs br0" 
don't show their MACs

What I wrong?
Thanks for your attention, sorry if I missing to post some useful data, 
please tell me, what you need.

-- 
A  presto
-Valerio-




More information about the libvirt-users mailing list