virtio-gpu: tag as not hotpluggable
PATCH 1/1 virtio-gpu: tag as not hotpluggable
qemu can't hotplug display devices.
Signed-off-by Gerd Hoffmann <[email protected]>
--- hw/display/virtio-gpu.c | 1 + 1 file changed, 1 insertion(+)
hw/display/virtio-gpu.c +1 -0
@@ -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
Quoted 3 lines · Gerd Hoffmann
qemu can't hotplug display devices.
Signed-off-by Gerd Hoffmann <[email protected]>
Reviewed-by Michael S. Tsirkin <[email protected]>
Quoted 18 lines
--- hw/display/virtio-gpu.c | 1 + 1 file changed, 1 insertion(+)hw/display/virtio-gpu.c +1
-0@@ -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