Skip to content
Browse files

qmp: parse commands in strict mode

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
  • Loading branch information...
1 parent b9f8978 commit 6d36d7dc2b1eeded7627745989fa6e20cb39eefd @bonzini bonzini committed with Luiz Capitulino
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/qapi-commands.py
View
2 scripts/qapi-commands.py
@@ -140,7 +140,7 @@ def gen_visitor_input_block(args, obj, dealloc=False):
''')
else:
ret += mcgen('''
-mi = qmp_input_visitor_new(%(obj)s);
+mi = qmp_input_visitor_new_strict(%(obj)s);
v = qmp_input_get_visitor(mi);
''',
obj=obj)

0 comments on commit 6d36d7d

Please sign in to comment.
Something went wrong with that request. Please try again.