xref: /qemu/scripts/qapi-gen.py (revision 0df750e9d3a5fea5e19f4750582121c9293a9d71)
1#!/usr/bin/env python3
2
3# This work is licensed under the terms of the GNU GPL, version 2 or later.
4# See the COPYING file in the top-level directory.
5
6"""
7QAPI code generation execution shim.
8
9This standalone script exists primarily to facilitate the running of the QAPI
10code generator without needing to install the python module to the current
11execution environment.
12"""
13
14import sys
15
16from qapi import main
17
18if __name__ == '__main__':
19    sys.exit(main.main())
20