Skip to content

ipmi: Fix vmstate transfer

[email protected] qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 3/31 patch 1 replyApplied
  2. v3 Latest3 patches 4 repliesIn review
  3. v2 posting 2/32 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/32 patches0 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v3 from the cover letter

* Added VMSTATE_VSTRUCT types of vmstate macros that allow the specific structure version used to be specified.
* Reworked the KCS vmstate code to use the new VMSTATE_VSTRUCT macros.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vmstate: Add a VSTRUCT typeinclude/migration/vmstate.h migration/vmstate.c+66 -40 replies
2/3ipmi: Use proper struct reference for KCS vmstatehw/ipmi/isa_ipmi_kcs.c+66 -152 replies
3/3ipmi: Use proper struct reference for BT vmstatehw/ipmi/isa_ipmi_bt.c+55 -132 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/3] ipmi: Fix vmstate transfer

I was going to just re-send the previous versions of these, but after looking I realized it would have the same misuse of vmstate_register(), and I didn't have a way to work around it. I had already done the VMSTATE_VSTRUCT work earlier, so I merged that in.

Changes from v2:
* Added VMSTATE_VSTRUCT types of vmstate macros that allow the specific structure version used to be specified.
* Reworked the KCS vmstate code to use the new VMSTATE_VSTRUCT macros.

Changes from v1:
* Validate the data values in pre_load functions.
* For KCS, instead of an old function, create a separate vmstate structure for the new version. The name on the old vmstate structure wasn't specific enough, so a new name was needed, The old structure is set up to never be sent, but it can be received.