summaryrefslogtreecommitdiffstats
path: root/io
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-04 13:56:55 +0200
committerPaolo Bonzini2020-06-10 18:09:37 +0200
commit78f8d4975c5d035e2e2447e6e499629b96142db0 (patch)
tree64ccc52a46856977f5d5bf0ec20cc3aabda6c713 /io
parentqom/object: Move Object typedef to 'qemu/typedefs.h' (diff)
downloadqemu-78f8d4975c5d035e2e2447e6e499629b96142db0.tar.gz
qemu-78f8d4975c5d035e2e2447e6e499629b96142db0.tar.xz
qemu-78f8d4975c5d035e2e2447e6e499629b96142db0.zip
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>
Diffstat (limited to 'io')
-rw-r--r--io/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/task.c b/io/task.c
index 1ae7b86488..53c0bed686 100644
--- a/io/task.c
+++ b/io/task.c
@@ -22,6 +22,7 @@
#include "io/task.h"
#include "qapi/error.h"
#include "qemu/thread.h"
+#include "qom/object.h"
#include "trace.h"
struct QIOTaskThreadData {