Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into...
[qemu/ar7.git] / scripts / qapi-gen.py
blobf3518d29a549ba5eff05186ad0c9720c6c11edfc
1 #!/usr/bin/env python3
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.
6 """
7 QAPI code generation execution shim.
9 This standalone script exists primarily to facilitate the running of the QAPI
10 code generator without needing to install the python module to the current
11 execution environment.
12 """
14 import sys
16 from qapi import main
18 if __name__ == '__main__':
19 sys.exit(main.main())