Skip to contentSkip to conversation

virtio-gpu: tag as not hotpluggable

PATCH In review Gerd Hoffmann 2 participants 2 messages Jan 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-gpu: tag as not hotpluggable

qemu can't hotplug display devices.

---
 hw/display/virtio-gpu.c | 1 +
 1 file changed, 1 insertion(+)
hw/display/virtio-gpu.c +1 -0
index ca88cf4..f410a3e 100644
@@ -1282,6 +1282,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 = {
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Gerd Hoffmann

qemu can't hotplug display devices.

Quoted 18 lines
---
 hw/display/virtio-gpu.c | 1 +
 1 file changed, 1 insertion(+)
hw/display/virtio-gpu.c +1 -0
index ca88cf4..f410a3e 100644
@@ -1282,6 +1282,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 = {
Signature · 1 line
1.8.3.1