Skip to content

migration: Extend blockers to CPR and Xen device-state saves

Akihiko Odaki qemu-devel 1 version In review

Get series with b4
b4 am [email protected] change-id 20260731-xen-bf7d034abc99

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/tpm: Block CPR with unsupported CRB chunk migrationhw/tpm/tpm_crb.c+1 -11 reply
2/2migration: Implement Xen migration blockeraccel/accel-system.c hw/scsi/vhost-scsi.c include/migration/blocker.h +5 more+99 -216 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchStefan Berger
1/2R-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] migration: Extend blockers to CPR and Xen device-state saves

Migration blockers do not currently cover every device-state save path. The TPM CRB blocker only covers normal migration even though CPR cannot preserve unsupported chunk state. xen-save-devices-state also operates outside the MigMode machinery and ignores blockers entirely.

Make the TPM CRB blocker apply to every migration class and add a Xen-specific class that xen-save-devices-state checks. Keep vhost-scsi's same-host CPR exemption while extending its default blocker to Xen device-state saves.

---
Akihiko Odaki (2):
hw/tpm: Block CPR with unsupported CRB chunk migration
migration: Implement Xen migration blocker

 include/migration/blocker.h | 10 ++++++-
 include/qemu/accel.h        |  2 +-
 migration/migration.h       |  2 ++
 accel/accel-system.c        | 25 +++++++++++++-----
 hw/scsi/vhost-scsi.c        |  5 +++-
 hw/tpm/tpm_crb.c            |  2 +-
 migration/migration.c       | 63 ++++++++++++++++++++++++++++++++++++++-------
 migration/savevm.c          |  4 +++
 system/vl.c                 |  9 ++++---
 9 files changed, 100 insertions(+), 22 deletions(-)

---
base-commit: 209b2afaface001c7d4d981e38f186afe7b24a50
change-id: 20260731-xen-bf7d034abc99

Best regards,

Signature · 1 line
Akihiko Odaki <[email protected]>