qapi: Reject -p arguments that break qapi-event.py
commit1cf47a15f18312436c7fa2d97be5fbe6df0292f5
authorMarkus Armbruster <armbru@redhat.com>
Wed, 1 Jul 2015 11:13:54 +0000 (1 13:13 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 Sep 2015 13:47:13 +0000 (4 15:47 +0200)
treec44cc2b9ad9c98fd635f934d24e41ff0e0e49031
parent016a335bd8ca624f43adbb08fa1698c29ec52a1a
qapi: Reject -p arguments that break qapi-event.py

qapi-event.py breaks when you ask for a funny prefix like '@'.
Protect it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
scripts/qapi.py