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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

I've investigated a little more and it appears this is onyl a problem
when using the legacy mode of setting up NICs using -net nic,...
When using -device this does not appear to be triggered. There is a
bug in libvirt though, which means even though your QEMU 0.12 supports
-device we're only using that at boot time. I forgot to port hotplug
of NICs to use device_add. 

Danie
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]