qemu/include/hw/virtio
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
..
vdpa-dev.h
vhost-backend.h
vhost-scsi-common.h
vhost-scsi.h
vhost-user-base.h
vhost-user-blk.h
vhost-user-fs.h
vhost-user-gpio.h
vhost-user-i2c.h
vhost-user-rng.h
vhost-user-scmi.h
vhost-user-scsi.h
vhost-user-snd.h
vhost-user-vsock.h
vhost-user.h
vhost-vdpa.h
vhost-vsock-common.h
vhost-vsock.h
vhost.h
virtio-access.h
virtio-acpi.h
virtio-balloon.h
virtio-blk-common.h
virtio-blk.h
virtio-bus.h
virtio-crypto.h
virtio-dmabuf.h
virtio-gpu-bswap.h
virtio-gpu-pci.h
virtio-gpu-pixman.h
virtio-gpu.h virtio-gpu: fix v2 migration 2024-05-22 17:34:41 -03:00
virtio-input.h
virtio-iommu.h virtio-iommu: Add an option to define the input range width 2024-03-12 17:58:42 -04:00
virtio-md-pci.h
virtio-mem.h
virtio-mmio.h
virtio-net.h
virtio-pci.h Revert "hw/virtio: Add support for VDPA network simulation devices" 2024-04-09 02:30:18 -04:00
virtio-pmem.h
virtio-rng.h
virtio-scsi.h
virtio-serial.h
virtio.h hw/virtio: Introduce virtio_bh_new_guarded() helper 2024-04-10 09:09:33 +02:00