Marc-André Lureau
40a23ef643
virtio-gpu: fix v2 migration
...
Commit dfcf74fa ("virtio-gpu: fix scanout migration post-load") broke
forward/backward version migration. Versioning of nested VMSD structures
is not straightforward, as the wire format doesn't have nested
structures versions. Introduce x-scanout-vmstate-version and a field
test to save/load appropriately according to the machine version.
Fixes: dfcf74fa ("virtio-gpu: fix scanout migration post-load")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
[fixed long lines]
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2024-05-22 17:34:41 -03:00
..
2022-11-07 14:00:29 -05:00
2022-11-07 14:00:29 -05:00
2023-12-29 11:17:30 +11:00
2023-11-07 14:04:25 +04:00
2023-11-06 15:58:43 +04:00
2023-11-06 15:58:45 +04:00
2023-11-06 15:58:43 +04:00
2024-03-12 11:46:16 +01:00
2023-12-29 11:17:30 +11:00
2022-11-08 10:23:32 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2022-11-10 10:17:18 -05:00
2024-01-18 10:43:13 +01:00
2024-04-30 16:02:43 +01:00
2023-12-29 11:17:30 +11:00
2022-03-04 11:31:46 +01:00
2024-02-26 18:40:09 +01: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
2024-04-30 16:02:43 +01:00
2024-03-12 11:45:33 +01:00
2024-05-03 15:47:48 +02:00
2022-12-03 22:07:07 +01:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2022-04-06 10:50:37 +02:00
2024-02-26 18:39:58 +01:00
2023-12-29 11:17:30 +11:00
2022-11-29 18:15:26 -05:00
2023-03-13 22:57:39 +04:00
2023-12-29 11:17:30 +11:00
2024-01-08 10:45:43 -05:00
2023-12-29 11:17:30 +11:00
2024-04-18 11:17:27 +02: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
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2022-03-21 15:44:44 +01:00
2023-12-29 11:17:30 +11:00
2024-04-30 16:02:43 +01:00
2020-08-21 06:18:24 -04:00
2024-05-03 15:47:48 +02:00
2024-01-18 10:43:14 +01:00
2024-01-18 10:43:14 +01:00
2023-11-02 12:52:06 +00:00
2022-11-10 10:17:18 -05:00
2023-12-29 11:17:30 +11:00
2024-04-26 17:03:05 +02:00
2022-06-06 09:26:53 +02:00
2024-05-14 17:14:12 +04:00
2022-06-06 09:26:53 +02:00
2023-10-22 05:18:16 -04:00
2023-12-26 04:51:07 -05:00
2022-06-06 09:26:53 +02:00
2022-06-06 09:26:53 +02:00
2023-11-06 14:25:30 +04:00
2023-10-16 11:29:56 +04:00
2024-02-14 06:17:44 -05:00
2021-11-05 12:29:19 +01:00
2024-05-14 17:14:12 +04:00
2024-02-14 06:09:33 -05:00
2024-05-22 17:34:41 -03:00
2022-06-06 09:26:53 +02:00
2023-10-16 11:29:56 +04:00
2024-04-25 10:21:06 +01:00
2022-12-16 15:59:07 +00:00
2023-12-29 11:17:30 +11:00
2024-05-10 15:45:15 +02:00
2023-12-29 11:17:30 +11:00