See also "[PATCH for-3.2 00/10] vhost: preparation for qgraph conversion of vhost-user-test". Some of the other vhost-user-test patches have gone in already, and this is what is left.
These patches are a prerequisite for both kconfig and qgraph. I will probably test them on macOS myself before these are included in a pull request, since the previous versions had some issues. Michael, let me know if you want me to send the pull request. Thanks, Paolo Paolo Bonzini (9): vhost-net: move stubs to a separate file vhost-net-user: add stubs for when no virtio-net device is present vhost: restrict Linux dependency to kernel vhost vhost-user: support cross-endian vnet headers vhost-net: compile it on all targets that have virtio-net. vhost-net: revamp configure logic vhost-user-test: create a main loop per TestServer vhost-user-test: small changes to init_hugepagefs vhost-user-test: create a temporary directory per TestServer backends/Makefile.objs | 5 +- configure | 102 ++++++++++++++++++----------- default-configs/virtio.mak | 4 +- hw/net/Makefile.objs | 4 +- hw/net/vhost_net-stub.c | 92 ++++++++++++++++++++++++++ hw/net/vhost_net.c | 85 ++---------------------- hw/virtio/Makefile.objs | 8 ++- hw/virtio/vhost-backend.c | 12 +++- hw/virtio/vhost-user.c | 13 +++- hw/virtio/vhost.c | 2 +- include/exec/poison.h | 1 - net/Makefile.objs | 4 +- net/net.c | 2 +- net/vhost-user-stub.c | 23 +++++++ net/vhost-user.c | 13 ++++ tests/Makefile.include | 5 +- tests/vhost-user-test.c | 160 +++++++++++++++++++++++---------------------- 17 files changed, 319 insertions(+), 216 deletions(-) create mode 100644 hw/net/vhost_net-stub.c create mode 100644 net/vhost-user-stub.c -- 1.8.3.1