qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

io/task: Move 'qom/object.h' header to source

We need "qom/object.h" to call object_ref()/object_unref(),
and to test the TYPE_DUMMY.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200504115656.6045-3-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Philippe Mathieu-Daudé and committed by
Paolo Bonzini
78f8d497 ca27b5eb

+2 -2
-2
include/io/task.h
··· 21 21 #ifndef QIO_TASK_H 22 22 #define QIO_TASK_H 23 23 24 - #include "qom/object.h" 25 - 26 24 typedef struct QIOTask QIOTask; 27 25 28 26 typedef void (*QIOTaskFunc)(QIOTask *task,
+1
io/task.c
··· 22 22 #include "io/task.h" 23 23 #include "qapi/error.h" 24 24 #include "qemu/thread.h" 25 + #include "qom/object.h" 25 26 #include "trace.h" 26 27 27 28 struct QIOTaskThreadData {
+1
tests/test-io-task.c
··· 20 20 21 21 #include "qemu/osdep.h" 22 22 23 + #include "qom/object.h" 23 24 #include "io/task.h" 24 25 #include "qapi/error.h" 25 26 #include "qemu/module.h"