[PATCH v2 29/31] qapi: remove header file compatibility symlinks

Daniel P. Berrangé posted 31 patches 5 days, 10 hours ago
[PATCH v2 29/31] qapi: remove header file compatibility symlinks
Posted by Daniel P. Berrangé 5 days, 10 hours ago
All code is converted to the new 'qobject/' import path, so
the temporary header file compatibility symlinks are now
redundant.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 qapi/qmp/dispatch.h    | 1 -
 qapi/qmp/json-parser.h | 1 -
 qapi/qmp/json-writer.h | 1 -
 qapi/qmp/qbool.h       | 1 -
 qapi/qmp/qdict.h       | 1 -
 qapi/qmp/qjson.h       | 1 -
 qapi/qmp/qlist.h       | 1 -
 qapi/qmp/qlit.h        | 1 -
 qapi/qmp/qnull.h       | 1 -
 qapi/qmp/qnum.h        | 1 -
 qapi/qmp/qobject.h     | 1 -
 qapi/qmp/qstring.h     | 1 -
 12 files changed, 12 deletions(-)
 delete mode 120000 qapi/qmp/dispatch.h
 delete mode 120000 qapi/qmp/json-parser.h
 delete mode 120000 qapi/qmp/json-writer.h
 delete mode 120000 qapi/qmp/qbool.h
 delete mode 120000 qapi/qmp/qdict.h
 delete mode 120000 qapi/qmp/qjson.h
 delete mode 120000 qapi/qmp/qlist.h
 delete mode 120000 qapi/qmp/qlit.h
 delete mode 120000 qapi/qmp/qnull.h
 delete mode 120000 qapi/qmp/qnum.h
 delete mode 120000 qapi/qmp/qobject.h
 delete mode 120000 qapi/qmp/qstring.h

diff --git a/qapi/qmp/dispatch.h b/qapi/qmp/dispatch.h
deleted file mode 120000
index ffedc3971d..0000000000
--- a/qapi/qmp/dispatch.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qapi/qmp-registry.h
\ No newline at end of file
diff --git a/qapi/qmp/json-parser.h b/qapi/qmp/json-parser.h
deleted file mode 120000
index 059cb73fa8..0000000000
--- a/qapi/qmp/json-parser.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/json-parser.h
\ No newline at end of file
diff --git a/qapi/qmp/json-writer.h b/qapi/qmp/json-writer.h
deleted file mode 120000
index 3e952f4c97..0000000000
--- a/qapi/qmp/json-writer.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/json-writer.h
\ No newline at end of file
diff --git a/qapi/qmp/qbool.h b/qapi/qmp/qbool.h
deleted file mode 120000
index 443c881cf8..0000000000
--- a/qapi/qmp/qbool.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qbool.h
\ No newline at end of file
diff --git a/qapi/qmp/qdict.h b/qapi/qmp/qdict.h
deleted file mode 120000
index 8183614eae..0000000000
--- a/qapi/qmp/qdict.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qdict.h
\ No newline at end of file
diff --git a/qapi/qmp/qjson.h b/qapi/qmp/qjson.h
deleted file mode 120000
index 85b48c5bfd..0000000000
--- a/qapi/qmp/qjson.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qjson.h
\ No newline at end of file
diff --git a/qapi/qmp/qlist.h b/qapi/qmp/qlist.h
deleted file mode 120000
index d40db0a12b..0000000000
--- a/qapi/qmp/qlist.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qlist.h
\ No newline at end of file
diff --git a/qapi/qmp/qlit.h b/qapi/qmp/qlit.h
deleted file mode 120000
index 5dd5ac8ccb..0000000000
--- a/qapi/qmp/qlit.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qlit.h
\ No newline at end of file
diff --git a/qapi/qmp/qnull.h b/qapi/qmp/qnull.h
deleted file mode 120000
index 944769d44b..0000000000
--- a/qapi/qmp/qnull.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qnull.h
\ No newline at end of file
diff --git a/qapi/qmp/qnum.h b/qapi/qmp/qnum.h
deleted file mode 120000
index 8038e2f4d6..0000000000
--- a/qapi/qmp/qnum.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qnum.h
\ No newline at end of file
diff --git a/qapi/qmp/qobject.h b/qapi/qmp/qobject.h
deleted file mode 120000
index 89d9118cfd..0000000000
--- a/qapi/qmp/qobject.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qobject.h
\ No newline at end of file
diff --git a/qapi/qmp/qstring.h b/qapi/qmp/qstring.h
deleted file mode 120000
index 24f48de18a..0000000000
--- a/qapi/qmp/qstring.h
+++ /dev/null
@@ -1 +0,0 @@
-../../include/qobject/qstring.h
\ No newline at end of file
-- 
2.46.0


Re: [PATCH v2 29/31] qapi: remove header file compatibility symlinks
Posted by Zhao Liu 4 days, 12 hours ago
On Thu, Oct 17, 2024 at 12:33:41PM +0100, Daniel P. Berrangé wrote:
> Date: Thu, 17 Oct 2024 12:33:41 +0100
> From: "Daniel P. Berrangé" <berrange@redhat.com>
> Subject: [PATCH v2 29/31] qapi: remove header file compatibility symlinks
> 
> All code is converted to the new 'qobject/' import path, so
> the temporary header file compatibility symlinks are now
> redundant.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  qapi/qmp/dispatch.h    | 1 -
>  qapi/qmp/json-parser.h | 1 -
>  qapi/qmp/json-writer.h | 1 -
>  qapi/qmp/qbool.h       | 1 -
>  qapi/qmp/qdict.h       | 1 -
>  qapi/qmp/qjson.h       | 1 -
>  qapi/qmp/qlist.h       | 1 -
>  qapi/qmp/qlit.h        | 1 -
>  qapi/qmp/qnull.h       | 1 -
>  qapi/qmp/qnum.h        | 1 -
>  qapi/qmp/qobject.h     | 1 -
>  qapi/qmp/qstring.h     | 1 -
>  12 files changed, 12 deletions(-)
>  delete mode 120000 qapi/qmp/dispatch.h
>  delete mode 120000 qapi/qmp/json-parser.h
>  delete mode 120000 qapi/qmp/json-writer.h
>  delete mode 120000 qapi/qmp/qbool.h
>  delete mode 120000 qapi/qmp/qdict.h
>  delete mode 120000 qapi/qmp/qjson.h
>  delete mode 120000 qapi/qmp/qlist.h
>  delete mode 120000 qapi/qmp/qlit.h
>  delete mode 120000 qapi/qmp/qnull.h
>  delete mode 120000 qapi/qmp/qnum.h
>  delete mode 120000 qapi/qmp/qobject.h
>  delete mode 120000 qapi/qmp/qstring.h
> 

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>