Hi,
The series aims to add --disable-vhost-user configure option, to
disable all vhost-user support.
v2:
- remove some #ifdef, reuse CONFIG_VHOST_NET_USED
- split the patch to have net/vhost-user.c compiled out (adding 2 ifdefs)
- fail if --enable-vhost-user on win32
Marc-André Lureau (2):
build-sys: add --disable-vhost-user
build-sys: do not compile net/vhost-user.c if vhost-user is disabled
hw/net/vhost_net.c | 4 ++++
hw/virtio/virtio-pci.c | 4 ++--
configure | 29 +++++++++++++++++++++++++++--
default-configs/pci.mak | 2 +-
default-configs/s390x-softmmu.mak | 2 +-
net/Makefile.objs | 2 +-
tests/Makefile.include | 6 +++---
7 files changed, 39 insertions(+), 10 deletions(-)
--
2.14.0.rc0.1.g40ca67566