[libvirt] two hostdev devices problem

Ján Tomko jtomko at redhat.com
Tue May 21 08:03:05 UTC 2013


On 05/21/2013 09:32 AM, Dominik Mostowiec wrote:
> hi,
> I try to add 2 VF by "hostdev".
> Networks (vnet0, vnet1) with:
>  <forward mode='hostdev' managed='yes'>
>     <pf dev='eth1'/>
> .....
> 
> Domain:                 
> <interface type="network">
>              <source network="vnet0"/>
> ....
> <interface type="network">
>              <source network="vnet1"/>
> ....
> 
> virsh create error:
> "error: internal error process exited while connecting to monitor: kvm:
> -device pci-assign,configfd=25,host=01:10.1,id=hostdev0,bus=pci.0,addr=0x4:
> Duplicate ID 'hostdev0' for device"
> 

Hi,

it seems we have been assigning the same id to all network hostdevs until this
recent commit (not yet released):

http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=6597cc25

Jan




More information about the libvir-list mailing list