QMP: Simplify do_info_commands()
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 16 Sep 2010 13:36:54 +0000 (10:36 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 1 Oct 2010 13:20:06 +0000 (10:20 -0300)
commit2e061a7c86d77c599676d89c3461f8efe9c275b1
tree27ac1fba6f5cdd534d63e87a85fd2fd59d2f31e8
parent3e12a751edcced7ad40c3b87d9784ffcfe941dcc
QMP: Simplify do_info_commands()

We now iterate over QMP's dispatch tables, no need to check for
QMP-only handlers anymore.

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