diff options
author | Paolo Bonzini | 2021-09-07 12:45:12 +0200 |
---|---|---|
committer | Jason Wang | 2021-09-17 10:07:52 +0200 |
commit | 080832e4f4801a28bd1170c49e61f6a0f5f05d03 (patch) | |
tree | e4dabb909a761cd8566055eb9dc30e81bc8997c3 | |
parent | Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-6.2-pul... (diff) | |
download | qemu-080832e4f4801a28bd1170c49e61f6a0f5f05d03.tar.gz qemu-080832e4f4801a28bd1170c49e61f6a0f5f05d03.tar.xz qemu-080832e4f4801a28bd1170c49e61f6a0f5f05d03.zip |
ebpf: only include in system emulators
eBPF files are being included in user emulators, which is useless and
also breaks compilation because ebpf/trace-events is only processed
if a system emulator is included in the build.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/566
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
-rw-r--r-- | ebpf/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ebpf/meson.build b/ebpf/meson.build index 9cd0635370..2dd0fd8948 100644 --- a/ebpf/meson.build +++ b/ebpf/meson.build @@ -1 +1 @@ -common_ss.add(when: libbpf, if_true: files('ebpf_rss.c'), if_false: files('ebpf_rss-stub.c')) +softmmu_ss.add(when: libbpf, if_true: files('ebpf_rss.c'), if_false: files('ebpf_rss-stub.c')) |