]> git.proxmox.com Git - mirror_qemu.git/commitdiff
virtio-gpu: tag as not hotpluggable
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Jan 2017 13:55:38 +0000 (14:55 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 11 Jan 2017 08:19:05 +0000 (09:19 +0100)
qemu can't hotplug display devices.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1483970138-20360-1-git-send-email-kraxel@redhat.com

hw/display/virtio-gpu.c

index cef736cebf9d9361c6934ba5c073e8acc7816597..7a15c61c76d531c9b33536f4026505d40cd27e68 100644 (file)
@@ -1299,6 +1299,7 @@ static void virtio_gpu_class_init(ObjectClass *klass, void *data)
 
     dc->props = virtio_gpu_properties;
     dc->vmsd = &vmstate_virtio_gpu;
+    dc->hotpluggable = false;
 }
 
 static const TypeInfo virtio_gpu_info = {