722b62d97d
libvhost-user: Add extra compiler warnings
...
In case libvhost-user is used externally, that projects compiler
warnings might be more strict. Enforce an extra set of compiler warnings
to catch issues early on.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org >
Suggested-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <737ebf2e697f8640558e6f73d96a692711f548f6.1671741278.git.marcel@holtmann.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2023-01-11 10:44:35 +01:00
3f55f97b14
meson: fix meson 0.58 warning with libvhost-user subproject
...
Meson now checks that subprojects do not access files from parent
project. While we all agree this is best practice, libvhost-user also
want to share a few headers with QEMU, and libvhost-user isn't really a
standalone project at this point (although this is making the dependency
a bit more explicit).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20210505151313.203258-1-marcandre.lureau@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2021-07-29 10:15:52 +02:00
0ba781957e
build-sys: add libvhost-user missing dependencies
...
This help fixing static compilation issues.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Acked-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20210114125605.1227742-4-marcandre.lureau@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2021-01-23 09:26:41 -05:00
e0193568da
libvhost-user: add a simple link test without glib
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20201125100640.366523-8-marcandre.lureau@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2020-12-09 13:04:17 -05:00
0df750e9d3
libvhost-user: make it a meson subproject
...
By making libvhost-user a subproject, check it builds
standalone (without the global QEMU cflags etc).
Note that the library still relies on QEMU include/qemu/atomic.h and
linux_headers/.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20201125100640.366523-6-marcandre.lureau@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2020-12-08 13:48:58 -05:00