[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 04/10] scripts/qapi: document the tool that generated the file
|
From: |
Alex Bennée |
|
Subject: |
[PATCH v2 04/10] scripts/qapi: document the tool that generated the file |
|
Date: |
Wed, 3 May 2023 10:17:50 +0100 |
This makes it a little easier for developers to find where things
where being generated.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
scripts/qapi/gen.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/qapi/gen.py b/scripts/qapi/gen.py
index 8f8f784f4a..e724507e1a 100644
--- a/scripts/qapi/gen.py
+++ b/scripts/qapi/gen.py
@@ -162,7 +162,7 @@ def __init__(self, fname: str, blurb: str, pydoc: str):
def _top(self) -> str:
return mcgen('''
-/* AUTOMATICALLY GENERATED, DO NOT MODIFY */
+/* AUTOMATICALLY GENERATED by QAPIGenC, DO NOT MODIFY */
/*
%(blurb)s
@@ -195,7 +195,7 @@ def _bottom(self) -> str:
class QAPIGenTrace(QAPIGen):
def _top(self) -> str:
- return super()._top() + '# AUTOMATICALLY GENERATED, DO NOT MODIFY\n\n'
+ return super()._top() + '# AUTOMATICALLY GENERATED by QAPIGenTrace, DO
NOT MODIFY\n\n'
@contextmanager
--
2.39.2
- [PATCH v2 00/10] tracing: remove dynamic vcpu state, Alex Bennée, 2023/05/03
- [PATCH v2 04/10] scripts/qapi: document the tool that generated the file,
Alex Bennée <=
- [PATCH v2 01/10] *-user: remove the guest_user_syscall tracepoints, Alex Bennée, 2023/05/03
- [PATCH v2 02/10] trace-events: remove the remaining vcpu trace events, Alex Bennée, 2023/05/03
- [PATCH v2 03/10] trace: remove vcpu_id from the TraceEvent structure, Alex Bennée, 2023/05/03
- [PATCH v2 05/10] qapi: make the vcpu parameters deprecated for 8.1, Alex Bennée, 2023/05/03
- [PATCH v2 10/10] xxhash: remove qemu_xxhash7, Alex Bennée, 2023/05/03