From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Markus Armbruster" <armbru@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>
Subject: [PATCH v2 16/31] qobject: adapt to new import path for qobject data type headers
Date: Thu, 17 Oct 2024 12:33:28 +0100 [thread overview]
Message-ID: <20241017113344.883424-17-berrange@redhat.com> (raw)
In-Reply-To: <20241017113344.883424-1-berrange@redhat.com>
The qobject data type headers have moved from qapi/qmp/ to
qobject/.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
qobject/block-qdict.c | 8 ++++----
qobject/json-parser-int.h | 2 +-
qobject/json-parser.c | 12 ++++++------
qobject/json-writer.c | 2 +-
qobject/qbool.c | 2 +-
qobject/qdict.c | 10 +++++-----
qobject/qjson.c | 16 ++++++++--------
qobject/qlist.c | 10 +++++-----
qobject/qlit.c | 14 +++++++-------
qobject/qnull.c | 2 +-
qobject/qnum.c | 2 +-
qobject/qobject-internal.h | 2 +-
qobject/qobject.c | 12 ++++++------
qobject/qstring.c | 2 +-
14 files changed, 48 insertions(+), 48 deletions(-)
diff --git a/qobject/block-qdict.c b/qobject/block-qdict.c
index 4a83bda2c3..d0e1c63cf6 100644
--- a/qobject/block-qdict.c
+++ b/qobject/block-qdict.c
@@ -9,10 +9,10 @@
#include "qemu/osdep.h"
#include "block/qdict.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/qbool.h"
+#include "qobject/qlist.h"
+#include "qobject/qnum.h"
+#include "qobject/qstring.h"
#include "qapi/qobject-input-visitor.h"
#include "qemu/cutils.h"
#include "qapi/error.h"
diff --git a/qobject/json-parser-int.h b/qobject/json-parser-int.h
index 16a25d00bb..8c01f23627 100644
--- a/qobject/json-parser-int.h
+++ b/qobject/json-parser-int.h
@@ -14,7 +14,7 @@
#ifndef JSON_PARSER_INT_H
#define JSON_PARSER_INT_H
-#include "qapi/qmp/json-parser.h"
+#include "qobject/json-parser.h"
typedef enum json_token_type {
JSON_ERROR = 0, /* must be zero, see json_lexer[] */
diff --git a/qobject/json-parser.c b/qobject/json-parser.c
index d498db6e70..7483e582fe 100644
--- a/qobject/json-parser.c
+++ b/qobject/json-parser.c
@@ -16,12 +16,12 @@
#include "qemu/cutils.h"
#include "qemu/unicode.h"
#include "qapi/error.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qdict.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnull.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/qbool.h"
+#include "qobject/qdict.h"
+#include "qobject/qlist.h"
+#include "qobject/qnull.h"
+#include "qobject/qnum.h"
+#include "qobject/qstring.h"
#include "json-parser-int.h"
struct JSONToken {
diff --git a/qobject/json-writer.c b/qobject/json-writer.c
index 309a31d57a..aac2c6ab71 100644
--- a/qobject/json-writer.c
+++ b/qobject/json-writer.c
@@ -14,7 +14,7 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/json-writer.h"
+#include "qobject/json-writer.h"
#include "qemu/unicode.h"
struct JSONWriter {
diff --git a/qobject/qbool.c b/qobject/qbool.c
index c7049c0c50..00d7066aae 100644
--- a/qobject/qbool.c
+++ b/qobject/qbool.c
@@ -12,7 +12,7 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qbool.h"
+#include "qobject/qbool.h"
#include "qobject-internal.h"
/**
diff --git a/qobject/qdict.c b/qobject/qdict.c
index 8faff230d3..a90ac9ae2f 100644
--- a/qobject/qdict.c
+++ b/qobject/qdict.c
@@ -11,11 +11,11 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qdict.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qnull.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/qnum.h"
+#include "qobject/qdict.h"
+#include "qobject/qbool.h"
+#include "qobject/qnull.h"
+#include "qobject/qstring.h"
#include "qobject-internal.h"
/**
diff --git a/qobject/qjson.c b/qobject/qjson.c
index 167fcb429c..c858dafb5e 100644
--- a/qobject/qjson.c
+++ b/qobject/qjson.c
@@ -13,14 +13,14 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
-#include "qapi/qmp/json-parser.h"
-#include "qapi/qmp/json-writer.h"
-#include "qapi/qmp/qjson.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qdict.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/json-parser.h"
+#include "qobject/json-writer.h"
+#include "qobject/qjson.h"
+#include "qobject/qbool.h"
+#include "qobject/qdict.h"
+#include "qobject/qlist.h"
+#include "qobject/qnum.h"
+#include "qobject/qstring.h"
typedef struct JSONParsingState {
JSONMessageParser parser;
diff --git a/qobject/qlist.c b/qobject/qlist.c
index 356ad946b0..41e6876d5b 100644
--- a/qobject/qlist.c
+++ b/qobject/qlist.c
@@ -11,11 +11,11 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnull.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/qbool.h"
+#include "qobject/qlist.h"
+#include "qobject/qnull.h"
+#include "qobject/qnum.h"
+#include "qobject/qstring.h"
#include "qemu/queue.h"
#include "qobject-internal.h"
diff --git a/qobject/qlit.c b/qobject/qlit.c
index a62865b642..a44f47eaa5 100644
--- a/qobject/qlit.c
+++ b/qobject/qlit.c
@@ -15,13 +15,13 @@
#include "qemu/osdep.h"
-#include "qapi/qmp/qlit.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qdict.h"
-#include "qapi/qmp/qstring.h"
-#include "qapi/qmp/qnull.h"
+#include "qobject/qlit.h"
+#include "qobject/qbool.h"
+#include "qobject/qlist.h"
+#include "qobject/qnum.h"
+#include "qobject/qdict.h"
+#include "qobject/qstring.h"
+#include "qobject/qnull.h"
static bool qlit_equal_qdict(const QLitObject *lhs, const QDict *qdict)
{
diff --git a/qobject/qnull.c b/qobject/qnull.c
index 445a5db7f3..0fb78cbd0a 100644
--- a/qobject/qnull.c
+++ b/qobject/qnull.c
@@ -11,7 +11,7 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qnull.h"
+#include "qobject/qnull.h"
#include "qobject-internal.h"
QNull qnull_ = {
diff --git a/qobject/qnum.c b/qobject/qnum.c
index dd8ea49565..a938b64537 100644
--- a/qobject/qnum.c
+++ b/qobject/qnum.c
@@ -13,7 +13,7 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qnum.h"
+#include "qobject/qnum.h"
#include "qobject-internal.h"
/**
diff --git a/qobject/qobject-internal.h b/qobject/qobject-internal.h
index b310c8e1b5..0c7679fe98 100644
--- a/qobject/qobject-internal.h
+++ b/qobject/qobject-internal.h
@@ -10,7 +10,7 @@
#ifndef QOBJECT_INTERNAL_H
#define QOBJECT_INTERNAL_H
-#include "qapi/qmp/qobject.h"
+#include "qobject/qobject.h"
static inline void qobject_init(QObject *obj, QType type)
{
diff --git a/qobject/qobject.c b/qobject/qobject.c
index d7077b8f2a..78d1e057c1 100644
--- a/qobject/qobject.c
+++ b/qobject/qobject.c
@@ -8,12 +8,12 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qbool.h"
-#include "qapi/qmp/qnull.h"
-#include "qapi/qmp/qnum.h"
-#include "qapi/qmp/qdict.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/qbool.h"
+#include "qobject/qnull.h"
+#include "qobject/qnum.h"
+#include "qobject/qdict.h"
+#include "qobject/qlist.h"
+#include "qobject/qstring.h"
#include "qobject-internal.h"
QEMU_BUILD_BUG_MSG(
diff --git a/qobject/qstring.c b/qobject/qstring.c
index 794f8c9357..d316604914 100644
--- a/qobject/qstring.c
+++ b/qobject/qstring.c
@@ -11,7 +11,7 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qmp/qstring.h"
+#include "qobject/qstring.h"
#include "qobject-internal.h"
/**
--
2.46.0
next prev parent reply other threads:[~2024-10-17 11:36 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-17 11:33 [PATCH v2 00/31] include: move include/qapi/qmp/ to include/qobject/ Daniel P. Berrangé
2024-10-17 11:33 ` [PATCH v2 01/31] " Daniel P. Berrangé
2024-10-18 9:47 ` Zhao Liu
2024-11-14 14:30 ` Markus Armbruster
2024-11-15 17:51 ` Daniel P. Berrangé
2024-10-17 11:33 ` [PATCH v2 02/31] audio: adapt to new import path for qobject data type headers Daniel P. Berrangé
2024-10-18 9:48 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 03/31] authz: " Daniel P. Berrangé
2024-10-18 9:48 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 04/31] block: " Daniel P. Berrangé
2024-10-18 9:51 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 05/31] backends: " Daniel P. Berrangé
2024-10-18 9:51 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 06/31] chardev: " Daniel P. Berrangé
2024-10-18 9:52 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 07/31] docs: " Daniel P. Berrangé
2024-10-18 9:52 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 08/31] dump: " Daniel P. Berrangé
2024-10-18 9:53 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 09/31] hw: " Daniel P. Berrangé
2024-10-17 20:38 ` Halil Pasic
2024-10-18 9:54 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 10/31] include: " Daniel P. Berrangé
2024-10-18 9:55 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 11/31] migration: " Daniel P. Berrangé
2024-10-18 9:56 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 12/31] monitor: " Daniel P. Berrangé
2024-10-18 9:57 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 13/31] net: " Daniel P. Berrangé
2024-10-18 9:57 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 14/31] qapi: " Daniel P. Berrangé
2024-10-18 9:58 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 15/31] qga: " Daniel P. Berrangé
2024-10-18 9:59 ` Zhao Liu
2024-10-17 11:33 ` Daniel P. Berrangé [this message]
2024-10-18 10:01 ` [PATCH v2 16/31] qobject: " Zhao Liu
2024-10-17 11:33 ` [PATCH v2 17/31] qom: " Daniel P. Berrangé
2024-10-18 10:01 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 18/31] replay: " Daniel P. Berrangé
2024-10-18 10:02 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 19/31] scripts: " Daniel P. Berrangé
2024-10-18 10:02 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 20/31] scsi: " Daniel P. Berrangé
2024-10-18 10:02 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 21/31] stats: " Daniel P. Berrangé
2024-10-18 10:03 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 22/31] stubs: " Daniel P. Berrangé
2024-10-18 10:03 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 23/31] system: " Daniel P. Berrangé
2024-10-18 10:06 ` Zhao Liu
2024-10-18 10:02 ` Daniel P. Berrangé
2024-10-17 11:33 ` [PATCH v2 24/31] target: " Daniel P. Berrangé
2024-10-18 10:07 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 25/31] tests: " Daniel P. Berrangé
2024-10-18 10:12 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 26/31] trace: " Daniel P. Berrangé
2024-10-18 10:12 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 27/31] ui: " Daniel P. Berrangé
2024-10-18 10:12 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 28/31] util: " Daniel P. Berrangé
2024-10-18 10:13 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 29/31] qapi: remove header file compatibility symlinks Daniel P. Berrangé
2024-10-18 10:13 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 30/31] qga: remove unused qerror.h header Daniel P. Berrangé
2024-10-18 10:14 ` Zhao Liu
2024-10-17 11:33 ` [PATCH v2 31/31] system: " Daniel P. Berrangé
2024-10-18 10:17 ` Zhao Liu
2024-10-18 13:34 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241017113344.883424-17-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).