[libvirt-users] from vmdk to kvm

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-

Il 10/04/2010 08:29, Valerio Felici ha scritto:
Hi, I will try to explain my case, I hope this is rigth place to do it. .... 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
Sorry that was a bit cryptic. "brctl showmacs br0" shows vnetX MACs, but don't show interfaces MAC. -- A presto -Valerio-

You should try connecting to the VM via VNC and see what's happening on that side. The XML you pasted was for a VM not running, when it's running, you'll see a port defined in <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>. Did you enter those MAC addresses or did you let libvirt generate them for you? .:. jeremy
participants (2)
-
jeremy avnet
-
Valerio Felici