From de8892215e27caed9c26358a7435ea4877e022b1 Mon Sep 17 00:00:00 2001 From: Dr. David Alan Gilbert Date: Thu, 14 Jul 2016 18:22:54 +0100 Subject: virtio-gpu: Use migrate_add_blocker for virgl migration blocking virgl conditionally registers a vmstate as unmigratable when virgl is enabled; instead use the migrate_add_blocker mechanism. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Cornelia Huck Reviewed-by: Gerd Hoffmann --- include/hw/virtio/virtio-gpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/hw/virtio/virtio-gpu.h') diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h index 325354f9f3..e4f424ad4a 100644 --- a/include/hw/virtio/virtio-gpu.h +++ b/include/hw/virtio/virtio-gpu.h @@ -118,6 +118,8 @@ typedef struct VirtIOGPU { uint32_t req_3d; uint32_t bytes_3d; } stats; + + Error *migration_blocker; } VirtIOGPU; extern const GraphicHwOps virtio_gpu_ops; -- cgit v1.2.3-55-g7522