diff options
| author | Cédric Le Goater <clg@fr.ibm.com> | 2016-01-25 15:07:31 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-06 20:44:09 +0200 |
| commit | a2295f0a5871e2b9d8ea24bc3a1d2e02bda6ef2d (patch) | |
| tree | e145bd13261242357ed45e82d8c3dc53639b8f40 /scripts/qapi-commands.py | |
| parent | 792afddb4a5cb2da11a57cfdb124b78981ed1fda (diff) | |
| download | focaccia-qemu-a2295f0a5871e2b9d8ea24bc3a1d2e02bda6ef2d.tar.gz focaccia-qemu-a2295f0a5871e2b9d8ea24bc3a1d2e02bda6ef2d.zip | |
ipmi: introduce a struct ipmi_sdr_compact
Currently, sdr attributes are identified using byte offsets and this can be a bit confusing. This patch adds a struct ipmi_sdr_compact conforming to the IPMI specs and replaces byte offsets with names. It also introduces and uses a struct ipmi_sdr_header in sections of the code where no assumption is made on the type of SDR. This leave rooms to potential usage of other types in the future. 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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions