On 16.05.2013 23:45, Dominik Mostowiec wrote: > Hi, > I try to add 2 VF functions to VM via network. > Livirt networks: > vnet0: > <network> > <name>vnet0</name> > <forward mode='hostdev' managed='yes'> > <pf dev='eth0'/> > </forward> > </network> > > vnet1: > <network> > <name>vnet0</name> > <forward mode='hostdev' managed='yes'> > <pf dev='eth1'/> > </forward> > </network> > > In VM configuration: > <interface type="network"> > <source network="vnet0"/> > <mac address="52:54:0a:b1:48:07"/> > </interface> > <interface type="network"> > <source network="vnet1"/> > <mac address="52:54:0a:b1:48:07"/> > </interface> This is not a good idea to have two NICs sharing the same MAC. > > VM can't start because: > kvm: -device > pci-assign,configfd=24,host=01:10.1,id=hostdev0,bus=pci.0,addr=0x4: > Duplicate ID 'hostdev0' for device > > libvirt version 1.0.5. > > What i am doing wrong? > I guess nothing. Libvirt has generated the same IDs for two devices which is obviously libvirt's faul even in case two NICs sharing the same MAC. Can you post full domain XML (possibly with network XMLs)? I'll try to reproduce and maybe I'll find what's wrong. Michal _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users