summary refs log tree commit diff stats
path: root/hw/misc/arm_integrator_debug.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-04-25 10:27:31 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2018-06-01 15:13:46 +0200
commit7e57b82ec3f1a87f623e4baef9ef1ba2b157935c (patch)
tree627c59fb4e60c934d82ccf0fedfd20e70194b6d8 /hw/misc/arm_integrator_debug.c
parent2dc6660bd8db0bfab0be91135cb0f6d83940d190 (diff)
downloadfocaccia-qemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.tar.gz
focaccia-qemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.zip
ipmi: Use proper struct reference for KCS vmstate
The vmstate for isa_ipmi_kcs was referencing into the kcs structure,
instead create a kcs structure separate and use that.

There were also some issues in the state transfer.  The inlen field
was not being transferred, so if a transaction was in process during
the transfer it would be messed up.  And the use_irq field was
transferred, but that should come from the configuration.

To fix this, the new VMS_VSTRUCT macros are used so the exact
version of the structure can be specified, depending on what
version was being received.  So an upgrade should work for KCS.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1524670052-28373-3-git-send-email-minyard@acm.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/arm_integrator_debug.c')
0 files changed, 0 insertions, 0 deletions