On 24/08/2022 11.39, Bin Meng wrote:
From: Bin Meng <bin.m...@windriver.com>All of the virtio-net-test test cases require socketpair() to do the test setup.
I think that is not true. Look at the end of the file, after the comment "These tests do not need a loopback backend" ... these tests are using virtio_net_test_setup_nosocket which does not need socketpair().
You likely have to put the #ifdefs in different locations here instead. Thomas