OSDN Git Service

vhost-net: revamp configure logic
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Feb 2019 17:35:53 +0000 (18:35 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Feb 2019 17:28:01 +0000 (12:28 -0500)
commit299e6f19b3e285f3ab00b780e3b48f5e58b5d4ed
tree8f8aab219b0cbd50d1dcbcad4cb14ad2555c6617
parentaf3bba761a1208c8515bcc72fc48d0f9045d040c
vhost-net: revamp configure logic

Detect all invalid configurations (e.g. mingw32 with vhost-user,
non-Linux with vhost-kernel).  As a collateral benefit, all vhost-kernel
backends can be now disabled if one wants to reduce the attack surface.

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-6-git-send-email-pbonzini@redhat.com>
Message-Id: <1550165756-21617-7-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/virtio/Makefile.objs
hw/virtio/vhost-backend.c