Hi,
I am creating a guest with following description for interfaces in the xml
using virsh create xml command. For some reason, the guest interface names
in the VM dont match the names specified in the xml. Is there a way to make
guest interface names predictable?
Following is the qemu version on host
dpkg --list | grep -i qemu
ii qemu-kvm 1:2.11+dfsg-1ubuntu7.10
amd64 QEMU Full virtualization on x86 hardware
<interface type='user'>
<mac address='52:54:00:17:0b:e7'/>
<guest dev='eth0'/>
<model type='e1000'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x03'
function='0x0'/>
</interface>
<interface type='ethernet'>
<mac address='52:54:00:ee:70:34'/>
<target dev='net0'/>
<guest dev='Ethernet0'/>
<model type='rtl8139'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x05'
function='0x0'/>
</interface>
Thanks