qapi/gen: Combine ._add_[user|system]_module
commit4ab0ff6da0828e6499d633a4801f4e6b6e96d21b
authorMarkus Armbruster <armbru@redhat.com>
Mon, 1 Feb 2021 19:37:40 +0000 (1 14:37 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 8 Feb 2021 13:15:58 +0000 (8 14:15 +0100)
treea2d52af7466fa606c099ae8d62dad7099e1fe8da
parente2bbc4eaa7f0d8efb8f49705bae0fecd3356f417
qapi/gen: Combine ._add_[user|system]_module

With callers to _add_system_module now explicitly using the './' prefix
to indicate a system module, there is no longer any reason to have
separate interfaces for adding system vs user modules; use a unified
interface that differentiates based on the name.

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