On Fri, Nov 16, 2012 at 2:55 PM, Dmitry Fleytman <dmi...@daynix.com> wrote: > We didn't succeed to find any guide or sample for the > king of tests required (packets transmission). > If someone can provide a pointer to the relevant > information we'll be very grateful.
QEMU does not have a NIC test suite. You can use manual testing of guests with vmxnet3 drivers to see if the NIC works as expected. Maybe you could even try running WHQL tests on the VMXNET3 driver inside a Windows guest - I'm not sure, I've never looked into WHQL. The community has been developing the qtest framework which is for device-level testing. For example, you could poke hardware registers and check that the correct interrupt gets raised. However, this framework is being extended to cover busses and hardware as developers decide they want test coverage. PCI support isn't available yet but Anthony Liguori recently worked on qtest PCI code.