summaryrefslogtreecommitdiffstats
path: root/job-qmp.c
diff options
context:
space:
mode:
authorPaolo Bonzini2020-02-04 12:20:10 +0100
committerPaolo Bonzini2020-08-21 12:18:24 +0200
commit243af0225ab37c642d73e4002b233af728119f72 (patch)
tree49f5015d7ef96c3a4a1b5861927f11dd3c07f4f8 /job-qmp.c
parentpc-bios/s390-ccw: do not use rules.mak (diff)
downloadqemu-243af0225ab37c642d73e4002b233af728119f72.tar.gz
qemu-243af0225ab37c642d73e4002b233af728119f72.tar.xz
qemu-243af0225ab37c642d73e4002b233af728119f72.zip
trace: switch position of headers to what Meson requires
Meson doesn't enjoy the same flexibility we have with Make in choosing the include path. In particular the tracing headers are using $(build_root)/$(<D). In order to keep the include directives unchanged, the simplest solution is to generate headers with patterns like "trace/trace-audio.h" and place forwarding headers in the source tree such that for example "audio/trace.h" includes "trace/trace-audio.h". This patch is too ugly to be applied to the Makefiles now. It's only a way to separate the changes to the tracing header files from the Meson rewrite of the tracing logic. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'job-qmp.c')
-rw-r--r--job-qmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/job-qmp.c b/job-qmp.c
index f9a58832e1..645601b2cc 100644
--- a/job-qmp.c
+++ b/job-qmp.c
@@ -27,7 +27,7 @@
#include "qemu/job.h"
#include "qapi/qapi-commands-job.h"
#include "qapi/error.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
/* Get a job using its ID and acquire its AioContext */
static Job *find_job(const char *id, AioContext **aio_context, Error **errp)