diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-04-25 10:27:31 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-01 15:13:46 +0200 |
commit | 7e57b82ec3f1a87f623e4baef9ef1ba2b157935c (patch) | |
tree | 627c59fb4e60c934d82ccf0fedfd20e70194b6d8 /docs | |
parent | 2dc6660bd8db0bfab0be91135cb0f6d83940d190 (diff) | |
download | qemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.zip qemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.tar.gz qemu-7e57b82ec3f1a87f623e4baef9ef1ba2b157935c.tar.bz2 |
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 'docs')
0 files changed, 0 insertions, 0 deletions