summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-03-28 12:45:22 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-28 12:45:22 -0500
commitc76d1a9b3f367754966c326d81ff8566798b473a (patch)
tree2ac34dddcb214c3a7de2834f8f69e8211f697a5e /scripts/qapi-commands.py
parent0a5a4e0568d4cc981457a2d1e7f86923eeff94ed (diff)
parent1829851cfee10e196abec50325d828de182fd356 (diff)
downloadfocaccia-qemu-c76d1a9b3f367754966c326d81ff8566798b473a.tar.gz
focaccia-qemu-c76d1a9b3f367754966c326d81ff8566798b473a.zip
Merge remote-tracking branch 'qmp/queue/qmp' into staging
* qmp/queue/qmp:
  qmp: document strict parsing
  qmp: parse commands in strict mode
  qmp: add and use q type specifier
  qapi: add strict mode to input visitor
  qapi: place outermost object on qiv stack
  qapi: untangle next_list
  qapi: allow freeing partially-allocated objects
  qapi: shortcut visits on errors
  qapi: fix memory leak on error
  qapi: fail hard on stack imbalance
  qapi: add a test case for type errors
  qapi: add struct-errors test case to test-qmp-output-visitor
  qapi: fix double free in qmp_output_visitor_cleanup()
Diffstat (limited to '')
-rw-r--r--scripts/qapi-commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py
index 30a24d211b..0b4f0a0fe1 100644
--- a/scripts/qapi-commands.py
+++ b/scripts/qapi-commands.py
@@ -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)