]> git.proxmox.com Git - mirror_qemu.git/blame - scripts/qapi-gen.py
iotests: add filter_qmp_generated_node_ids()
[mirror_qemu.git] / scripts / qapi-gen.py
CommitLineData
3d004a37 1#!/usr/bin/env python3
52a47418 2
fb0bc835
MA
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
52a47418 6"""
a76ab215 7QAPI code generation execution shim.
52a47418 8
a76ab215
JS
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.
52a47418 12"""
e6c42b96 13
fb0bc835 14import sys
fb0bc835 15
a76ab215 16from qapi import main
fb0bc835
MA
17
18if __name__ == '__main__':
a76ab215 19 sys.exit(main.main())