qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hw/s390x: Don't call register_savevm_live() during instance_init()
@ 2023-10-20 12:57 Thomas Huth
  2023-10-20 12:57 ` [PATCH 1/3] hw/s390x/s390-skeys: " Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Thomas Huth @ 2023-10-20 12:57 UTC (permalink / raw)
  To: qemu-devel, Christian Borntraeger, Eric Farman
  Cc: qemu-s390x, Halil Pasic, David Hildenbrand, Claudio Imbrenda,
	Juan Quintela

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.

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 | 54 +++++++++++++++-------------------------
 2 files changed, 28 insertions(+), 61 deletions(-)

-- 
2.41.0



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

end of thread, other threads:[~2023-10-20 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 12:57 [PATCH 0/3] hw/s390x: Don't call register_savevm_live() during instance_init() Thomas Huth
2023-10-20 12:57 ` [PATCH 1/3] hw/s390x/s390-skeys: " Thomas Huth
2023-10-20 12:57 ` [PATCH 2/3] hw/s390x/s390-stattrib: Simplify handling of the "migration-enabled" property Thomas Huth
2023-10-20 12:57 ` [PATCH 3/3] hw/s390x/s390-stattrib: Don't call register_savevm_live() during instance_init() Thomas Huth
2023-10-20 13:27   ` Thomas Huth
2023-10-20 13:16 ` [PATCH 0/3] hw/s390x: " David Hildenbrand
2023-10-20 14:05 ` Eric Farman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).