diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2025-06-06 10:05:23 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2025-06-06 10:05:23 +0000 |
commit | 755cc582a2473d06f3a2131d506d0311cc70e9f9 (patch) | |
tree | 3efb1ddb8d57bbb4539ac0d229b384871c57820f /scripts/qapi-gen.py | |
parent | Initial commit. (diff) | |
download | qemu-upstream.tar.xz qemu-upstream.zip |
Adding upstream version 1:7.2+dfsg.upstream/1%7.2+dfsgupstream
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | scripts/qapi-gen.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/qapi-gen.py b/scripts/qapi-gen.py new file mode 100644 index 00000000..f3518d29 --- /dev/null +++ b/scripts/qapi-gen.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +# This work is licensed under the terms of the GNU GPL, version 2 or later. +# See the COPYING file in the top-level directory. + +""" +QAPI code generation execution shim. + +This standalone script exists primarily to facilitate the running of the QAPI +code generator without needing to install the python module to the current +execution environment. +""" + +import sys + +from qapi import main + +if __name__ == '__main__': + sys.exit(main.main()) |