Monitor: Convert simple handlers to cmd_new_ret()
commitef4b7eeec1dee272a590486bca1b53675cf30973
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 11 Feb 2010 01:49:48 +0000 (10 23:49 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Feb 2010 21:18:16 +0000 (19 15:18 -0600)
tree6d0cfae789e9151984520d0ff5695e764775ded2
parent97536cffbfb0b5f62b1dea50411031afa4f0cc35
Monitor: Convert simple handlers to cmd_new_ret()

The following handlers always succeed and hence can be converted
to cmd_new_ret() in the same commit.

- do_stop()
- do_quit()
- do_system_reset()
- do_system_powerdown()
- do_migrate_cancel()
- do_qmp_capabilities()
- do_migrate_set_speed()
- do_migrate_set_downtime()

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