On Wed, Nov 18, 2020 at 12:09:00PM +0400, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Hi,
>
> libvhost-user is meant to be free of glib dependency, and easily
> copyable/reusable outside of QEMU. Clean-up some dependencies that crept in
> recently (the one remaining is qemu/atomic.h, from which a subset is used)
>
> Marc-André Lureau (2):
> libvhost-user: replace qemu/bswap.h with glibc endian.h
> libvhost-user: replace qemu/memfd.h usage
>
> contrib/libvhost-user/libvhost-user.c | 127 +++++++++++++++++---------
> 1 file changed, 83 insertions(+), 44 deletions(-)
Let's find a way to enforce this. How about a libvhost-user-only build
in the CI system without glib2-devel? Also maybe a way to poison QEMU
headers? It might be simpler to move contrib/libvhost-user to a separate
git repo though.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>