Re: [Qemu-devel] [PATCH v2 04/10] ipmi: add rsp_buffer_set_error() helper

2016-03-05 Thread Corey Minyard
On 03/02/2016 04:14 AM, Cédric Le Goater wrote: The third byte in the response buffer of an IPMI command holds the error code. In many IPMI command handlers, this byte is updated directly. This patch adds a helper routine to clarify why this byte is being used. Signed-off-by: Cédric Le Goater

[Qemu-devel] [PATCH v2 04/10] ipmi: add rsp_buffer_set_error() helper

2016-03-02 Thread Cédric Le Goater
The third byte in the response buffer of an IPMI command holds the error code. In many IPMI command handlers, this byte is updated directly. This patch adds a helper routine to clarify why this byte is being used. Signed-off-by: Cédric Le Goater --- hw/ipmi/ipmi_bmc_sim.c | 115 +