All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] migration: Extend blockers to CPR and Xen device-state saves
@ 2026-09-12  5:31 Akihiko Odaki
  2026-09-12  5:31 ` [PATCH 1/2] hw/tpm: Block CPR with unsupported CRB chunk migration Akihiko Odaki
  2026-09-12  5:31 ` [PATCH 2/2] migration: Implement Xen migration blocker Akihiko Odaki
  0 siblings, 2 replies; 10+ messages in thread
From: Akihiko Odaki @ 2026-09-12  5:31 UTC (permalink / raw)
  To: qemu-devel
  Cc: xen-devel, Stefan Berger, Michael S. Tsirkin, Stefano Garzarella,
	Paolo Bonzini, Fam Zheng, Peter Xu, Fabiano Rosas,
	Richard Henderson, Stefano Stabellini, Anthony PERARD,
	Edgar E. Iglesias, Philippe Mathieu-Daudé, Akihiko Odaki

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.

Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
---
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,
--  
Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-09-27  1:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12  5:31 [PATCH 0/2] migration: Extend blockers to CPR and Xen device-state saves Akihiko Odaki
2026-09-12  5:31 ` [PATCH 1/2] hw/tpm: Block CPR with unsupported CRB chunk migration Akihiko Odaki
2026-09-21 21:19   ` Stefan Berger
2026-09-12  5:31 ` [PATCH 2/2] migration: Implement Xen migration blocker Akihiko Odaki
2026-09-22 14:28   ` Fabiano Rosas
2026-09-23  6:59     ` Akihiko Odaki
2026-09-23 21:35       ` Fabiano Rosas
2026-09-23 22:55         ` Akihiko Odaki
2026-09-24 12:38           ` Fabiano Rosas
2026-09-27  1:33             ` Akihiko Odaki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.