<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Arial">We are using a<font face="Arial">n</font> 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<font face="Arial">.</font>04 libvirt 1.0.0<br>
<br>
Following<font face="Arial">:</font><br>
<a class="moz-txt-link-freetext" href="http://wiki.libvirt.org/page/Networking#Assignment_from_a_pool_of_SRIOV_VFs_in_a_libvirt_.3Cnetwork.3E_definition">http://wiki.libvirt.org/page/Networking#Assignment_from_a_pool_of_SRIOV_VFs_in_a_libvirt_.3Cnetwork.3E_definition</a>
<br>
I can get a pool working with one network-<br>
<font face="Arial"> <network><br>
<name>passthrough_eth0</name><br>
<forward mode='hostdev' managed='yes'><br>
<pf dev='eth0'/><br>
</forward><br>
</network><br>
<font face="Arial">and I can get the four networks started using
similar xml. Using one stan<font face="Arial">za of network
type passthrough, I can get a pool on one PF.</font><br>
<br>
<font face="Arial">But when I try to create the VM using four
stanzas of network definition,<br>
<font face="Arial"> <interface type='network'><br>
<source network='passthrough_eth0'/><br>
</interface><br>
<interface type='network'><br>
<source network='passthrough_eth1'/><br>
</interface><br>
<interface type='network'><br>
<source network='passthrough_eth2'/><br>
</interface><br>
<interface type='network'><br>
<source network='passthrough_eth3'/><br>
</interface><br>
<br>
<font face="Arial">I get this error:<br>
<font face="Arial">"error: Failed to create domain from
./vm0.xml<br>
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 "<br>
<br>
<font face="Arial"><font face="Arial">Ideas?</font></font><br>
<font face="Arial"></font></font><br>
</font></font></font></font></font><br>
</font><br>
<pre class="moz-signature" cols="120">--
John Fisher</pre>
</body>
</html>