On 2018-12-03 16:32, Paolo Bonzini wrote: > 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é <phi...@redhat.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > backends/Makefile.objs | 5 ++--- > default-configs/virtio.mak | 4 ++-- > hw/net/vhost_net.c | 2 +- > hw/virtio/Makefile.objs | 5 +++-- > hw/virtio/vhost-backend.c | 11 +++++++++-- > 5 files changed, 17 insertions(+), 10 deletions(-) [...] > diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c > index fe6202a..2a300ee 100644 > --- a/hw/net/vhost_net.c > +++ b/hw/net/vhost_net.c > @@ -193,7 +193,7 @@ struct vhost_net *vhost_net_init(VhostNetOptions *options) > } > > /* Set sane init value. Override when guest acks. */ > -#ifdef CONFIG_VHOST_USER > +#ifdef CONFIG_VHOST_NET_USER
Merge this hunk with the previous patch? Apart from that nit: Reviewed-by: Thomas Huth <th...@redhat.com>