Re: [Qemu-devel] [PATCH 01/21] Monitor: Introduce cmd_new_ret()

2010-02-19 Thread Anthony Liguori
On 02/10/2010 07:49 PM, Luiz Capitulino wrote: 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 h

[Qemu-devel] [PATCH 01/21] Monitor: Introduce cmd_new_ret()

2010-02-10 Thread Luiz Capitulino
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