vhost: restrict Linux dependency to kernel vhost
commit18658a3ced71e0fb23a0ef80ef0bbf1a9cbb7a2b
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Feb 2019 17:35:50 +0000 (14 18:35 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Feb 2019 17:28:01 +0000 (21 12:28 -0500)
tree993ecd88885402f55591c65f5228d52b7f179d92
parent56f41de7372eb81e751e65942e7ec928e07fb67e
vhost: restrict Linux dependency to kernel vhost

vhost-user does not depend on Linux; it can run on any POSIX system.  Restrict
vhost-kernel to Linux in hw/virtio/vhost-backend.c, everything else can be
compiled on all POSIX systems.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1543851204-41186-4-git-send-email-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1550165756-21617-4-git-send-email-pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
backends/Makefile.objs
default-configs/virtio.mak
hw/net/vhost_net.c
hw/virtio/Makefile.objs
hw/virtio/vhost-backend.c
hw/virtio/vhost-user.c
hw/virtio/vhost.c