summaryrefslogtreecommitdiffstats
path: root/migration.h
diff options
context:
space:
mode:
authorLuiz Capitulino2010-02-11 02:49:47 +0100
committerAnthony Liguori2010-02-19 22:18:16 +0100
commit97536cffbfb0b5f62b1dea50411031afa4f0cc35 (patch)
tree454106155b29868bce0624529aa2bbf9047b7a18 /migration.h
parentmove default allocator to console.c (diff)
downloadqemu-97536cffbfb0b5f62b1dea50411031afa4f0cc35.tar.gz
qemu-97536cffbfb0b5f62b1dea50411031afa4f0cc35.tar.xz
qemu-97536cffbfb0b5f62b1dea50411031afa4f0cc35.zip
Monitor: Introduce cmd_new_ret()
In order to implement the new error handling and debugging mechanism for command handlers, we need to change the cmd_new() callback to return a value. This commit introduces cmd_new_ret(), which returns a value and will be used only temporarily to handle the transition from cmd_new(). That is, as soon as all command handlers are ported to cmd_new_ret(), it will be renamed back to cmd_new() and the new error handling and debugging mechanism will be added on top of it. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration.h')
0 files changed, 0 insertions, 0 deletions