[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/4] Fix "virtio-gpu: fix scanout migration post-load"
From: |
marcandre . lureau |
Subject: |
[PATCH v2 0/4] Fix "virtio-gpu: fix scanout migration post-load" |
Date: |
Mon, 13 May 2024 11:19:01 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
The aforementioned patch breaks virtio-gpu device migrations for versions
pre-9.0/9.0, both forwards and backwards. Versioning of `VMS_STRUCT` is more
complex than it may initially appear, as evidenced in the problematic commit
dfcf74fa68c ("virtio-gpu: fix scanout migration post-load").
v2:
- use a manual version field test (instead of the more complex struct variant)
Marc-André Lureau (3):
migration: add "exists" info to load-state-field trace
migration: fix a typo
virtio-gpu: add x-vmstate-version
Peter Xu (1):
virtio-gpu: fix v2 migration
include/hw/virtio/virtio-gpu.h | 1 +
hw/core/machine.c | 1 +
hw/display/virtio-gpu.c | 26 ++++++++++++++++++--------
migration/vmstate.c | 7 ++++---
migration/trace-events | 2 +-
5 files changed, 25 insertions(+), 12 deletions(-)
--
2.41.0.28.gd7d8841f67