[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 01/29] Include qapi/qmp/qerror.h exactly where ne
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH v2 01/29] Include qapi/qmp/qerror.h exactly where needed |
Date: |
Sun, 11 Feb 2018 10:35:39 +0100 |
Signed-off-by: Markus Armbruster <address@hidden>
---
block.c | 1 -
block/qcow2.c | 1 -
chardev/char-fe.c | 1 +
chardev/char.c | 1 +
qom/object_interfaces.c | 1 +
scripts/qapi-visit.py | 2 +-
6 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/block.c b/block.c
index f94585b230..05a484b4b8 100644
--- a/block.c
+++ b/block.c
@@ -32,7 +32,6 @@
#include "qemu/module.h"
#include "qapi/error.h"
#include "qapi/qmp/qdict.h"
-#include "qapi/qmp/qerror.h"
#include "qapi/qmp/qjson.h"
#include "qapi/qmp/qstring.h"
#include "sysemu/block-backend.h"
diff --git a/block/qcow2.c b/block/qcow2.c
index a64a572785..9245deac19 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -30,7 +30,6 @@
#include "block/qcow2.h"
#include "qemu/error-report.h"
#include "qapi/error.h"
-#include "qapi/qmp/qerror.h"
#include "qapi/qmp/qdict.h"
#include "qapi/qmp/qstring.h"
#include "qapi-event.h"
diff --git a/chardev/char-fe.c b/chardev/char-fe.c
index c611b3fa3e..e5f870e4d2 100644
--- a/chardev/char-fe.c
+++ b/chardev/char-fe.c
@@ -24,6 +24,7 @@
#include "qemu/osdep.h"
#include "qemu/error-report.h"
#include "qapi/error.h"
+#include "qapi/qmp/qerror.h"
#include "qapi-visit.h"
#include "sysemu/replay.h"
diff --git a/chardev/char.c b/chardev/char.c
index 01d979a1da..c9a4da5516 100644
--- a/chardev/char.c
+++ b/chardev/char.c
@@ -32,6 +32,7 @@
#include "qmp-commands.h"
#include "qapi-visit.h"
#include "qapi/error.h"
+#include "qapi/qmp/qerror.h"
#include "sysemu/replay.h"
#include "qemu/help_option.h"
#include "qemu/option.h"
diff --git a/qom/object_interfaces.c b/qom/object_interfaces.c
index 80d09139be..43d9aa0946 100644
--- a/qom/object_interfaces.c
+++ b/qom/object_interfaces.c
@@ -1,6 +1,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qapi/qmp/qdict.h"
+#include "qapi/qmp/qerror.h"
#include "qom/object_interfaces.h"
#include "qemu/module.h"
#include "qemu/option.h"
diff --git a/scripts/qapi-visit.py b/scripts/qapi-visit.py
index 7e1cfc13f0..bc2b8b581a 100644
--- a/scripts/qapi-visit.py
+++ b/scripts/qapi-visit.py
@@ -371,13 +371,13 @@ fdef.write(mcgen('''
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/error.h"
+#include "qapi/qmp/qerror.h"
#include "%(prefix)sqapi-visit.h"
''',
prefix=prefix))
fdecl.write(mcgen('''
#include "qapi/visitor.h"
-#include "qapi/qmp/qerror.h"
#include "%(prefix)sqapi-types.h"
''',
--
2.13.6
- Re: [Qemu-devel] [PATCH v2 04/29] qapi: Rename variable holding the QAPISchemaGenFOOVisitor, (continued)
- [Qemu-devel] [PATCH v2 21/29] qapi/common: Fix guardname() for funny filenames, Markus Armbruster, 2018/02/11
- [Qemu-devel] [PATCH v2 25/29] docs/devel/writing-qmp-commands: Update for modular QAPI, Markus Armbruster, 2018/02/11
- [Qemu-devel] [PATCH v2 03/29] qapi: Generate up-to-date copyright notice, Markus Armbruster, 2018/02/11
- [Qemu-devel] [PATCH v2 01/29] Include qapi/qmp/qerror.h exactly where needed,
Markus Armbruster <=
- [Qemu-devel] [PATCH v2 10/29] qapi: Touch generated files only when they change, Markus Armbruster, 2018/02/11
- Re: [Qemu-devel] [PATCH v2 10/29] qapi: Touch generated files only when they change, Michael Roth, 2018/02/19
- [Qemu-devel] [PATCH v2 26/29] docs: Correct outdated information on QAPI, Markus Armbruster, 2018/02/11