diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2016-01-25 15:07:30 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-06 20:44:09 +0200 |
commit | 792afddb4a5cb2da11a57cfdb124b78981ed1fda (patch) | |
tree | 23a05052beec863b5333ce7f3aa12f21d81cc8a0 /hw/9pfs/9p-posix-acl.c | |
parent | 7cfa06a2f1db6fef2be7f645697dbc6c4006324a (diff) | |
download | qemu-792afddb4a5cb2da11a57cfdb124b78981ed1fda.zip qemu-792afddb4a5cb2da11a57cfdb124b78981ed1fda.tar.gz qemu-792afddb4a5cb2da11a57cfdb124b78981ed1fda.tar.bz2 |
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 'hw/9pfs/9p-posix-acl.c')
0 files changed, 0 insertions, 0 deletions