]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-gpu: block migration of VMs with blob=true
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 6 Sep 2023 13:00:22 +0000 (17:00 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 9 Nov 2023 13:39:13 +0000 (16:39 +0300)
commita89c8b96a8f6116e6b4325cca74f563868f25c58
treec7016c7888fec1d40381c8080907feb2e49f5100
parent287303495cbf7b554d193da7d76b226f2de86b59
virtio-gpu: block migration of VMs with blob=true

"blob" resources don't have an associated pixman image:

#0  pixman_image_get_stride (image=0x0) at ../pixman/pixman-image.c:921
#1  0x0000562327c25236 in virtio_gpu_save (f=0x56232bb13b00, opaque=0x56232b555a60, size=0, field=0x5623289ab6c8 <__compound_literal.3+104>, vmdesc=0x56232ab59fe0) at ../hw/display/virtio-gpu.c:1225

Related to:
https://bugzilla.redhat.com/show_bug.cgi?id=2236353

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
(cherry picked from commit 9c549ab6895a43ad0cb33e684e11cdb0b5400897)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/display/virtio-gpu.c