[libvirt-users] Two VF cards

Dominik Mostowiec dominikmostowiec at gmail.com
Thu May 16 21:45:19 UTC 2013


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>

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?

--
Regards
Dominik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130516/1905f88f/attachment.htm>


More information about the libvirt-users mailing list