diff options
author | Daniele Buono <dbuono@linux.vnet.ibm.com> | 2021-03-03 21:59:38 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-06 11:42:57 +0100 |
commit | c715343fd96bcf93263fda38d81af815fdb5a7fa (patch) | |
tree | 819300476e8714851bcc49057708fc17540ba0ef /include | |
parent | 7520c4f0847093aefa87f23113f28d5d1d574aed (diff) | |
download | qemu-c715343fd96bcf93263fda38d81af815fdb5a7fa.zip qemu-c715343fd96bcf93263fda38d81af815fdb5a7fa.tar.gz qemu-c715343fd96bcf93263fda38d81af815fdb5a7fa.tar.bz2 |
meson: Stop if cfi is enabled with system slirp
For CFI, we need to compile slirp as a static library together with qemu.
This is because we register slirp functions as callbacks for QEMU Timers.
When using a system-wide shared libslirp, the type information for the
callback is missing and the timer call produces a false positive with CFI.
With this patch, meson will stop if CFI is enabled with system-wide slirp.
In 6.1 we will introduce a new interface to slirp where the callback is
passed as an enum rather than a function pointer.
Signed-off-by: Daniele Buono <dbuono@linux.vnet.ibm.com>
Message-Id: <20210304025939.9164-1-dbuono@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions