[libvirt] BUG: attaching - detaching network device only works 7 times

Stefan Berger stefanb at us.ibm.com
Thu Apr 15 11:34:54 UTC 2010


"Daniel P. Berrange" <berrange at redhat.com> wrote on 04/15/2010 05:22:22 
AM:

>
> 
> Please respond to "Daniel P. Berrange"
> 
> On Wed, Apr 14, 2010 at 08:16:22PM -0400, Stefan Berger wrote:
> > With the current tip: While extending a test case I found that 
attaching
> > and detaching the following network device works only 7 times with the
> > below script:
> > 
> >     <interface type='bridge'>
> >       <source bridge='static'/>
> >       <mac address='52:54:00:4d:a2:58'/>
> >       <target dev='attach0'/>
> >     </interface>
> > 
> > 
> > let c=1; while test 1; do virsh attach-device acl attach.xml ; virsh
> > detach-device acl attach.xml; echo ${c}; let c=c+1; done
> > 
> > Then the following error occurs:
> > 
> > error: Failed to attach device from attach.xml
> > error: operation failed: parsing pci_add reply failed: Too Many NICs
> > failed to add macaddr=52:54:00:4d:a2:58,vlan=1,name=net1
> > 
> > It looks like the detachment of the device is not done by qemu?
> 
> Yeah, sounds like it - what version of QEMU do you have ? 
> 

rpm -q --whatprovides /usr/bin/qemu-kvm
qemu-system-x86-0.12.3-6.fc13.x86_64


Regards,
   Stefan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100415/27ac4ab5/attachment-0001.htm>


More information about the libvir-list mailing list