qapi: use explicitly internal module names
commit12893a8ea7163e871abae05b5a42cdce1ad45225
authorJohn Snow <jsnow@redhat.com>
Mon, 1 Feb 2021 19:37:38 +0000 (1 14:37 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 8 Feb 2021 13:15:58 +0000 (8 14:15 +0100)
tree0f4147b7fec751def8c53e75cc5ecbfca62f563f
parentf3a705928a7b1825678ff510843702652bc15f1a
qapi: use explicitly internal module names

QAPISchemaModularCVisitor._add_system_module() prefixes './' to its name
argument to make it a module name.  Pass the module name instead.  This
will allow us to coalesce the methods to add modules later on.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210201193747.2169670-8-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message reworded]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/commands.py
scripts/qapi/events.py
scripts/qapi/gen.py