vhost-net: compile it on all targets that have virtio-net.
commitaf3bba761a1208c8515bcc72fc48d0f9045d040c
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Feb 2019 17:35:52 +0000 (14 18:35 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Feb 2019 17:28:01 +0000 (21 12:28 -0500)
treeb1b41e2575bdd5b3d543142c0c2f8b4a3b619001
parentba28889838e6bdce540f30892d547cf634c1b0cd
vhost-net: compile it on all targets that have virtio-net.

This shows a preexisting bug: if a KVM target did not have virtio-net enabled,
it would fail with undefined symbols when vhost was enabled.  This must now
be fixed, lest targets that have no virtio-net fail to compile.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1543851204-41186-5-git-send-email-pbonzini@redhat.com>
Message-Id: <1550165756-21617-6-git-send-email-pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
configure
hw/net/Makefile.objs
hw/net/vhost_net.c
include/exec/poison.h
tests/Makefile.include
tests/vhost-user-test.c