qemu/hw/ipmi
Corey Minyard 7e57b82ec3 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>
2018-06-01 15:13:46 +02:00
..
ipmi_bmc_extern.c ipmi: disable IRQ and ATN on an external disconnect 2018-01-30 15:52:53 -06:00
ipmi_bmc_sim.c ipmi: Allow BMC device properties to be set 2018-01-30 15:52:53 -06:00
ipmi.c qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00
isa_ipmi_bt.c ipmi: Fix macro issues 2018-01-30 15:52:53 -06:00
isa_ipmi_kcs.c ipmi: Use proper struct reference for KCS vmstate 2018-06-01 15:13:46 +02:00
Makefile.objs ipmi: fix build config variable name for ipmi_bmc_extern.o 2016-11-01 19:21:09 +02:00