QMP: Drop the query commands dispatch table
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 21 Oct 2011 18:15:31 +0000 (16:15 -0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 27 Oct 2011 13:48:47 +0000 (11:48 -0200)
commit40e5a01d1add8cca5732dd079c92e9bf4f07d7ff
tree8422f400402883a914e436a06ec483f3b0cd6daf
parent79627472db3629de66fe81019560aa9cb6900268
QMP: Drop the query commands dispatch table

Because QMP development originated in the monitor, it has
inherited the monitor's distinction between query- and
non-query commands.

However, previous commits unified both commands and the
distinction is gone. This commit drops the query commands
dispatch table and does some simplifications along the way.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c