Hi Daniel,
thanks for reply. Well, virsh reports already WRONG address.
I'll try other network types and some more debugging tomorrow and report further.
cheers
nik
On Tue, Jun 17, 2008 at 12:09:03PM -0400, Daniel Veillard wrote:
Hum, I can't really reproduce this. I used a definition like:
<interface type='network'>
<mac address='00:16:3e:0d:24:00'/>
<source network='default'/>
<target dev='vnet0'/>
</interface>
since i don't have bridging set. When starting the guest with 0.4.2 I see
/usr/bin/qemu-kvm -M pc -m 512 -smp 1 -monitor pty -boot c -hda /virt/test-mac.img -net
nic,macaddr=00:16:3e:0d:24:00,vlan=0 -net tap,fd=14,script=,vlan=0,ifname=vnet0 -usb -vnc
127.0.0.1:0 -k en-us
when starting with 0.4.3 I see
/usr/bin/qemu-kvm -S -M pc -m 512 -smp 1 -name test-mac -monitor pty -boot c -drive
file=/virt/test-mac.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2
-net nic,macaddr=00:16:3e:0d:24:00,vlan=0 -net tap,fd=13,script=,vlan=0,ifname=vnet0
-serial none -parallel none -usb -vnc 127.0.0.1:0 -k en-us
but in both cases the MAC parsing looks correct and properly provided down
to qemu-kvm . Could you double check with virsh directly (though i don't see
how python could scramble just that part of the XML description) using
virsh dumpxml and virsh create ...
Also testing with a network type of setting may help finding what is happening
precisely here
thanks,
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/
--
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava
tel.: +420 596 603 142
fax: +420 596 621 273
mobil: +420 777 093 799
www.linuxbox.cz
mobil servis: +420 737 238 656
email servis: servis(a)linuxbox.cz
-------------------------------------