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>
This commit is contained in:
parent
ca27b5eb7c
commit
78f8d4975c
@ -21,8 +21,6 @@
|
||||
#ifndef QIO_TASK_H
|
||||
#define QIO_TASK_H
|
||||
|
||||
#include "qom/object.h"
|
||||
|
||||
typedef struct QIOTask QIOTask;
|
||||
|
||||
typedef void (*QIOTaskFunc)(QIOTask *task,
|
||||
|
@ -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 {
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "qom/object.h"
|
||||
#include "io/task.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/module.h"
|
||||
|
Loading…
Reference in New Issue
Block a user