summaryrefslogtreecommitdiffstats
path: root/include/standard-headers
diff options
context:
space:
mode:
authorCorey Minyard2018-04-25 17:27:31 +0200
committerPaolo Bonzini2018-06-01 15:13:46 +0200
commit7e57b82ec3f1a87f623e4baef9ef1ba2b157935c (patch)
tree627c59fb4e60c934d82ccf0fedfd20e70194b6d8 /include/standard-headers
parentvmstate: Add a VSTRUCT type (diff)
downloadqemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.tar.gz
qemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.tar.xz
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 'include/standard-headers')
0 files changed, 0 insertions, 0 deletions