[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/10] scripts/qapi: document the tool that generated the file
From: |
Alex Bennée |
Subject: |
[PATCH 04/10] scripts/qapi: document the tool that generated the file |
Date: |
Thu, 20 Apr 2023 16:00:03 +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 b5a8d03e8e..282f5091e3 100644
--- a/scripts/qapi/gen.py
+++ b/scripts/qapi/gen.py
@@ -161,7 +161,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
@@ -194,7 +194,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 00/10] tracing: remove dynamic vcpu state, Alex Bennée, 2023/04/20
- [PATCH 03/10] trace: remove vcpu_id from the TraceEvent structure, Alex Bennée, 2023/04/20
- [PATCH 04/10] scripts/qapi: document the tool that generated the file,
Alex Bennée <=
- [PATCH 09/10] hw/9pfs: use qemu_xxhash4, Alex Bennée, 2023/04/20
- [PATCH 01/10] *-user: remove the guest_user_syscall tracepoints, Alex Bennée, 2023/04/20
- [PATCH 07/10] trace: remove control-vcpu.h, Alex Bennée, 2023/04/20
- [PATCH 02/10] trace-events: remove the remaining vcpu trace events, Alex Bennée, 2023/04/20
- [PATCH 10/10] xxhash: remove qemu_xxhash7, Alex Bennée, 2023/04/20