Skip to content

hw/s390x: Don't call register_savevm_live() during instance_init()

Thomas Huth qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Fixed bug in the third patch ("sas" -> "dev")
- Add an early return in case of error in the third patch
- Added Acked-by/Reviewed by from David and Eric (thanks!)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/s390x/s390-skeys: Don't call register_savevm_live() during instance_init()hw/s390x/s390-skeys.c+8 -270 replies
2/3hw/s390x/s390-stattrib: Simplify handling of the "migration-enabled" propertyhw/s390x/s390-stattrib.c+6 -200 replies
3/3hw/s390x/s390-stattrib: Don't call register_savevm_live() during instance_init()hw/s390x/s390-stattrib.c+15 -140 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid HildenbrandEric FarmanJuan Quintela
SeriesA-b
1/3A-b R-b
2/3A-b R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] hw/s390x: Don't call register_savevm_live() during instance_init()

We must not call register_savevm_live() during instance_init() since instances can be created at any time, e.g. during introspection of a device. We must register the savevm handler during realize() instead. Fix it now in the s390x devices.

v2:
- Fixed bug in the third patch ("sas" -> "dev")
- Add an early return in case of error in the third patch
- Added Acked-by/Reviewed by from David and Eric (thanks!)

Thomas Huth (3):
hw/s390x/s390-skeys: Don't call register_savevm_live() during
instance_init()
hw/s390x/s390-stattrib: Simplify handling of the "migration-enabled"
property
hw/s390x/s390-stattrib: Don't call register_savevm_live() during
instance_init()

 hw/s390x/s390-skeys.c    | 35 ++++++-------------------
 hw/s390x/s390-stattrib.c | 55 +++++++++++++++-------------------------
 2 files changed, 29 insertions(+), 61 deletions(-)
Signature · 1 line
2.41.0