Thomas Huth
bebe9603fc
hw/intc/s390_flic: Fix crash that occurs when saving the machine state
...
adapter_info_so_needed() treats its "opaque" parameter as a S390FLICState,
but the function belongs to a VMStateDescription that is attached to a
TYPE_VIRTIO_CCW_BUS device. This is currently causing a crash when the
user tries to save or migrate the VM state. Fix it by using s390_get_flic()
to get the correct device here instead.
Reported-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Fixes: 9d1b0f5bf5 ("s390_flic: add migration-enabled property")
Message-ID: <20240517061553.564529-1-thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-05-17 11:18:32 +02:00
..
2023-12-29 11:17:30 +11:00
2024-02-14 06:09:32 -05:00
2024-03-09 18:51:45 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2023-07-25 17:13:53 +03:00
2020-11-15 16:42:14 +01:00
2024-04-25 10:21:06 +01:00
2021-12-15 10:11:34 +00:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:05 +01:00
2024-01-09 14:42:40 +00:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2021-03-19 15:18:43 +01:00
2023-12-29 11:17:30 +11:00
2022-04-21 09:27:54 -07:00
2018-09-25 15:13:24 +01:00
2024-04-25 10:21:05 +01:00
2023-12-29 11:17:30 +11:00
2024-03-09 19:17:01 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-03-08 00:37:48 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2016-10-04 10:00:25 +02:00
2024-03-12 11:45:33 +01:00
2023-02-27 22:29:01 +01:00
2024-05-10 15:45:15 +02:00
2023-03-15 11:52:25 +01:00
2024-05-09 00:07:21 +02:00
2023-01-13 16:22:57 +01:00
2024-03-20 10:19:57 +08:00
2024-05-09 00:07:21 +02:00
2023-01-06 10:54:20 +08:00
2023-12-29 11:17:30 +11:00
2024-05-09 00:07:21 +02:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2024-05-10 15:45:15 +02:00
2023-10-04 11:03:54 -07:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2021-09-30 15:30:24 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-06-10 10:19:24 -03:00
2023-09-06 11:19:33 +02:00
2023-09-06 11:19:33 +02:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2020-07-10 15:18:08 +02:00
2023-12-29 11:17:30 +11:00
2024-03-22 15:29:44 +10:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-05-03 15:47:48 +02:00
2024-05-17 11:18:32 +02:00
2021-10-30 18:39:37 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2024-05-09 00:07:21 +02:00
2020-08-21 06:18:24 -04:00
2015-09-24 01:29:36 +01:00
2022-04-06 14:31:55 +02:00
2020-11-15 16:38:24 +01:00
2021-05-02 17:24:51 +02:00
2024-04-25 10:21:06 +01:00
2023-01-12 17:15:09 +00:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00