monitor: Introduce monitor_call_handler()
commit99e2fc1672bbf84d081729a42c6a579ffdffecf8
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 27 Nov 2009 00:58:53 +0000 (26 22:58 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:21 +0000 (3 09:41 -0600)
tree86e7ace65d03f9e00821e69af4ea1c9edc2a07a1
parentadcb181afe5a951c521411c7a8e9d9b791aa6742
monitor: Introduce monitor_call_handler()

This commit moves the code which calls Monitor handlers to
its own function, as it will be used by QMP code as well.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c