<br><tt><font size=2>"Daniel P. Berrange" <berrange@redhat.com>
wrote on 04/15/2010 12:48:59 PM:<br>
<br>
> Please respond to "Daniel P. Berrange"</font></tt>
<br><tt><font size=2>> <br>
> On Thu, Apr 15, 2010 at 12:19:48PM -0400, Stefan Berger wrote:<br>
> > "Daniel P. Berrange" <berrange@redhat.com> wrote
on 04/15/2010 07:50:51 <br>
> > AM:<br>
> > <br>
> > <br>
> > > <br>
> > > <br>
> > > Even if that wasn't broken though, I don't see how NIC hotplug
would <br>
> > work<br>
> > > in your scenario. That error message about Too Many NICs
is becuase the<br>
> > > 'nd_table' in QEMU's net.c has all fields set 'used = 1'.
I don't see <br>
> > any<br>
> > > code which ever sets 'used = 0'.<br>
> > <br>
> > no code there that ever decreases nb_nic, so unplug doesn't seem
to be <br>
> > supported<br>
> > <br>
> > Would it be worth having such a simple test in libvirt repository
itself <br>
> > or is that a case for the TCK project?<br>
> <br>
> Yep, this is perfect candidate for a TCK test case. Take the 210-nic-hotplug.t<br>
> test case, and make it attempt to plug+unplug a NIC 35 times in a
row. This<br>
> should test this particular bug, and also validate that PCI addresses
are<br>
> being reused correctly (there're only 31 pci slots that can be used
at any<br>
> 1 time)</font></tt>
<br>
<br><tt><font size=2>another idea ... how about a daily 'weather report'
from the Tck test suite sent to the mailing list?</font></tt>
<br>
<br><tt><font size=2>   Stefan</font></tt>
<br>