]> git.proxmox.com Git - qemu.git/commit
QMP: handle_qmp_command(): Move 'cmd' sanity check
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 15 Sep 2010 13:56:17 +0000 (10:56 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 1 Oct 2010 13:20:06 +0000 (10:20 -0300)
commit0fb88582e60e16e809c1aabc2c4b3e1f0832e267
treebc3e9868eab32689cf68afa1e10987b299e035b5
parent945c5ac8d3c792bab36dc0990f11ca55f6eb3148
QMP: handle_qmp_command(): Move 'cmd' sanity check

Next commit will change how query commands are handled in a
way that the 'cmd' sanity check is also going to be needed
for query commands handling.

Let's move it out of the else body then.

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