summaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-03-17 17:22:46 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-06-22 18:20:41 +0200
commitcc7a8ea740ec74a144e866a1d24aa6b490e31923 (patch)
tree1bb5f94977aa90e5163360cb1dd2e9a4d0f94ee8 /migration
parentd49b68364414d649b8e26232f2a600d415611662 (diff)
downloadqemu-cc7a8ea740ec74a144e866a1d24aa6b490e31923.zip
Include qapi/qmp/qerror.h exactly where needed
In particular, don't include it into headers. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.c1
-rw-r--r--migration/savevm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 25f6830a77..d7056d7453 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -21,6 +21,7 @@
#include "migration/qemu-file.h"
#include "sysemu/sysemu.h"
#include "block/block.h"
+#include "qapi/qmp/qerror.h"
#include "qemu/sockets.h"
#include "migration/block.h"
#include "qemu/thread.h"
diff --git a/migration/savevm.c b/migration/savevm.c
index 2b4e02f1a3..9e0e286797 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -37,6 +37,7 @@
#include "qemu/timer.h"
#include "audio/audio.h"
#include "migration/migration.h"
+#include "qapi/qmp/qerror.h"
#include "qemu/error-report.h"
#include "qemu/sockets.h"
#include "qemu/queue.h"