mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
qapi: Pseudo-type '**' is now unused, drop it
'gen': false needs to stay for now, because netdev_add is still using it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1442401589-24189-25-git-send-email-armbru@redhat.com>
This commit is contained in:
parent
b8a98326d5
commit
2d21291ae6
11 changed files with 11 additions and 40 deletions
|
@ -234,7 +234,7 @@ check-qapi-schema-y := $(addprefix tests/qapi-schema/, \
|
|||
bad-type-dict.json double-data.json unknown-expr-key.json \
|
||||
redefined-type.json redefined-command.json redefined-builtin.json \
|
||||
redefined-event.json command-int.json bad-data.json event-max.json \
|
||||
type-bypass.json type-bypass-no-gen.json type-bypass-bad-gen.json \
|
||||
type-bypass-bad-gen.json \
|
||||
args-invalid.json \
|
||||
args-array-empty.json args-array-unknown.json args-int.json \
|
||||
args-unknown.json args-member-unknown.json args-member-array.json \
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
tests/qapi-schema/type-bypass-no-gen.json:2: Member 'arg' of 'data' for command 'unsafe' uses '**' but did not request 'gen':false
|
|
@ -1 +0,0 @@
|
|||
1
|
|
@ -1,2 +0,0 @@
|
|||
# type bypass only works with 'gen':false
|
||||
{ 'command': 'unsafe', 'data': { 'arg': '**' }, 'returns': '**' }
|
|
@ -1 +0,0 @@
|
|||
0
|
|
@ -1,2 +0,0 @@
|
|||
# Use of 'gen':false allows bypassing type system
|
||||
{ 'command': 'unsafe', 'data': { 'arg': '**' }, 'returns': '**', 'gen': false }
|
|
@ -1,4 +0,0 @@
|
|||
object :obj-unsafe-arg
|
||||
member arg: any optional=False
|
||||
command unsafe :obj-unsafe-arg -> any
|
||||
gen=False success_response=True
|
Loading…
Add table
Add a link
Reference in a new issue