aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-01-09 14:55:38 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-01-11 09:19:05 +0100
commita2056e09b02745e5d000351a8a7938fa8a292ba7 (patch)
tree2d612c21f76185c8f35cb8ee184174802287c14f /hw
parentc84f0f25db2eaab101665ddb60c1ddf1decce76a (diff)
virtio-gpu: tag as not hotpluggable
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
Diffstat (limited to 'hw')
-rw-r--r--hw/display/virtio-gpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c
index cef736cebf..7a15c61c76 100644
--- a/hw/display/virtio-gpu.c
+++ b/hw/display/virtio-gpu.c
@@ -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 = {