Skip to content

migration: s390x css migration

Halil Pasic qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10s390x: add helper get_machine_classhw/s390x/s390-virtio-ccw.c+23 -230 replies
2/10s390x: add css_migration_enabled to machine classhw/s390x/s390-virtio-ccw.c include/hw/s390x/s390-virtio-ccw.h+20 -00 replies
3/10s390x/css: add vmstate entities for csshw/s390x/css.c include/hw/s390x/css.h+285 -112 replies
4/10s390x/css: add vmstate macro for CcwDevicehw/s390x/ccw-device.c hw/s390x/ccw-device.h+14 -00 replies
5/10virtio-ccw: add vmstate entities for VirtioCcwDevicehw/intc/s390_flic.c hw/s390x/virtio-ccw.c include/hw/s390x/s390_flic.h+91 -00 replies
6/10virtio-ccw: use vmstate way for config migrationhw/s390x/virtio-ccw.c+44 -7215 replies
7/10s390x/css: remove unused subch_dev_(load|save)hw/s390x/css.c include/hw/s390x/css.h+0 -1450 replies
8/10s390x/css: add ORB to SubchDevhw/s390x/css.c include/hw/s390x/css.h+36 -00 replies
9/10s390x/css: turn on channel subsystem migrationhw/s390x/ccw-device.c hw/s390x/css.c hw/s390x/s390-virtio-ccw.c +2 more+28 -54 replies
10/10s390x/css: use SubchDev.orbhw/s390x/css.c+9 -100 replies

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by.

PatchGuenther Hutzl
1/10
2/10
3/10
4/10R-b
5/10R-b
6/10
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/10] migration: s390x css migration

This patch set has a dual purpose: introduce proper migration for the channel subsystem (css) and convert the migration of ccw devices to vmstate. The state of the css was only partially migrated by the virtio-ccw devices (was the only device type until recent), which was good enough for a while.

Since the new vmstate infrastructure is used also for handling the migration stream for legacy machines some bits are a bit convoluted:
that is, if you see something convoluted there is a good chance the reason why is compatibility.

Halil Pasic (10):
s390x: add helper get_machine_class
s390x: add css_migration_enabled to machine class s390x/css: add vmstate entities for css s390x/css: add vmstate macro for CcwDevice
virtio-ccw: add vmstate entities for VirtioCcwDevice
virtio-ccw: use vmstate way for config migration s390x/css: remove unused subch_dev_(load|save) s390x/css: add ORB to SubchDev
s390x/css: turn on channel subsystem migration s390x/css: use SubchDev.orb

 hw/intc/s390_flic.c                |  48 ++++
 hw/s390x/ccw-device.c              |  11 +
 hw/s390x/ccw-device.h              |   4 +
 hw/s390x/css.c                     | 478 +++++++++++++++++++++++++------------
 hw/s390x/s390-virtio-ccw.c         |  58 +++--
 hw/s390x/virtio-ccw.c              | 164 +++++++------
 include/hw/s390x/css.h             |  17 +-
 include/hw/s390x/s390-virtio-ccw.h |   7 +
 include/hw/s390x/s390_flic.h       |   5 +
 9 files changed, 543 insertions(+), 249 deletions(-)
Signature · 1 line
2.10.2