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
cd57deabad
meson: vhost-user-gpu/virtiofsd: use absolute path
...
The option `libexecdir` is relative to `prefix` (see
https://mesonbuild.com/Builtin-options.html ), so we have to be aware
of this when creating 50-qemu-gpu.json and
50-qemu-virtiofsd.json. Otherwise, tools like libvirt will not be able
to find the executable.
Fixes: 16bf7a3326
("configure: move directory options from config-host.mak to meson")
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com >
Message-Id: <20201103112333.24734-1-mhartmay@linux.ibm.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-11-03 09:42:53 -05:00
16bf7a3326
configure: move directory options from config-host.mak to meson
...
Since installation is not part of Makefiles anymore, Make need not
know the directories anymore. Meson already knows them through
built-in options, do everything using them instead of the config_host
dictionary.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-10-26 07:08:38 -04:00
ab4c0996f8
meson: use meson datadir instead of qemu_datadir
...
When cross-compiling, by default qemu_datadir is 'c:\Program
Files\QEMU', which is not recognized as being an absolute path, and
meson will end up adding the prefix again.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20200826110419.528931-6-marcandre.lureau@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-09-01 08:51:33 -04:00
3f99cf5710
tools/virtiofsd: convert to Meson
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-08-21 06:30:09 -04:00