qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Fix "virtio-gpu: fix scanout migration post-load"
@ 2024-05-13  7:19 marcandre.lureau
  2024-05-13  7:19 ` [PATCH v2 1/4] migration: add "exists" info to load-state-field trace marcandre.lureau
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: marcandre.lureau @ 2024-05-13  7:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Gerd Hoffmann, Michael S. Tsirkin, Peter Xu, Fabiano Rosas,
	Marcel Apfelbaum, Yanan Wang, Philippe Mathieu-Daudé,
	Eduardo Habkost, =?unknown-8bit?q?Marc-Andr=C3=A9?= Lureau

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



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

end of thread, other threads:[~2024-05-14 13:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-13  7:19 [PATCH v2 0/4] Fix "virtio-gpu: fix scanout migration post-load" marcandre.lureau
2024-05-13  7:19 ` [PATCH v2 1/4] migration: add "exists" info to load-state-field trace marcandre.lureau
2024-05-13  7:19 ` [PATCH v2 2/4] migration: fix a typo marcandre.lureau
2024-05-13 22:27   ` Fabiano Rosas
2024-05-14  4:29   ` Peter Xu
2024-05-13  7:19 ` [PATCH v2 3/4] virtio-gpu: add x-vmstate-version marcandre.lureau
2024-05-14  4:29   ` Peter Xu
2024-05-14  7:25     ` Marc-André Lureau
2024-05-14 13:06       ` Peter Xu
2024-05-13  7:19 ` [PATCH v2 4/4] virtio-gpu: fix v2 migration marcandre.lureau
2024-05-13 12:55 ` [PATCH v2 0/4] Fix "virtio-gpu: fix scanout migration post-load" Fiona Ebner
2024-05-13 13:21   ` Marc-André Lureau
2024-05-13 13:44     ` Fiona Ebner

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).