summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2024-05-16 12:40:22 +0400
committerFabiano Rosas <farosas@suse.de>2024-05-22 17:34:41 -0300
commit40a23ef643664b5c1021a9789f9d680b6294fb50 (patch)
tree91af1e50c0bb69bf2b4792698b4cd6c698ebfaec /docs/devel/secure-coding-practices.rst
parentf0937ec669f9f39f5ece39f62d048606b9ee3877 (diff)
downloadfocaccia-qemu-40a23ef643664b5c1021a9789f9d680b6294fb50.tar.gz
focaccia-qemu-40a23ef643664b5c1021a9789f9d680b6294fb50.zip
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>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions