mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
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>
This commit is contained in:
parent
b9f8978cc4
commit
6d36d7dc2b
@ -140,7 +140,7 @@ v = qapi_dealloc_get_visitor(md);
|
||||
''')
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user