We are using an Intel 82599 chip that allows 4 PFs ( eth0..3) per VM. I am able to manually start VMs using the hostdev definition for the four network connections, but I'd like to start using the pool approach. Ubuntu 12.04 libvirt 1.0.0

Following:
http://wiki.libvirt.org/page/Networking#Assignment_from_a_pool_of_SRIOV_VFs_in_a_libvirt_.3Cnetwork.3E_definition
I can get a pool working with one network-
 <network>
   <name>passthrough_eth0</name>
   <forward mode='hostdev' managed='yes'>
     <pf dev='eth0'/>
   </forward>
 </network>
and I can get the four networks started using similar xml. Using one stanza of network type passthrough, I can get a pool on one PF.

But when I try to create the VM using four stanzas of network definition,
   <interface type='network'>
      <source network='passthrough_eth0'/>
    </interface>
    <interface type='network'>
      <source network='passthrough_eth1'/>
    </interface>
    <interface type='network'>
      <source network='passthrough_eth2'/>
    </interface>
    <interface type='network'>
      <source network='passthrough_eth3'/>
    </interface>

I get this error:
"error: Failed to create domain from ./vm0.xml
error: internal error Process exited while reading console log output: kvm: -device pci-assign,host=01:10.1,id=hostdev0,configfd=47,bus=pci.0,addr=0x8: Duplicate ID 'hostdev0' for device "

Ideas?



-- 
John Fisher