qapi: centralize is_[user|system|builtin]_module methods
commit98967c248c4c01085af2ff49ed3d378f79019902
authorJohn Snow <jsnow@redhat.com>
Mon, 1 Feb 2021 19:37:36 +0000 (1 14:37 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 8 Feb 2021 13:15:58 +0000 (8 14:15 +0100)
treeb22821aed3943dd1513b1586122d29e5e8f8c5e1
parenta253b3eb9a194a0b2e8b55095ce5f28c2d5cfa11
qapi: centralize is_[user|system|builtin]_module methods

Define what a module is and define what kind of a module it is once and
for all, in one place.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210201193747.2169670-6-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/gen.py
scripts/qapi/schema.py