summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater2016-01-25 15:07:30 +0100
committerMichael S. Tsirkin2016-02-06 19:44:09 +0100
commit792afddb4a5cb2da11a57cfdb124b78981ed1fda (patch)
tree23a05052beec863b5333ce7f3aa12f21d81cc8a0 /include
parentipmi: cleanup error_report messages (diff)
downloadqemu-792afddb4a5cb2da11a57cfdb124b78981ed1fda.tar.gz
qemu-792afddb4a5cb2da11a57cfdb124b78981ed1fda.tar.xz
qemu-792afddb4a5cb2da11a57cfdb124b78981ed1fda.zip
ipmi: fix SDR length value
The IPMI BMC simulator populates the SDR table with a set of initial SDRs. The length of each SDR is taken from the record itself (byte 4) which does not include the size of the header. But, the full length (header + data) is required by the sdr_add_entry() routine. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions