virtio-gpu-pci: tag as not hotpluggable
PATCH 1/1 virtio-gpu-pci: tag as not hotpluggable
We can't hotplug display adapters in qemu, tag virtio-gpu-pci accordingly (virtio-vga already has this).
Signed-off-by Gerd Hoffmann <[email protected]>
--- hw/display/virtio-gpu-pci.c | 1 + 1 file changed, 1 insertion(+)
hw/display/virtio-gpu-pci.c +1 -0
@@ -48,6 +48,7 @@ static void virtio_gpu_pci_class_init(ObjectClass *klass, void *data)set_bit (DEVICE_CATEGORY_DISPLAY , dc->categories); dc->props = virtio_gpu_pci_properties; + dc->hotpluggable = false; k->realize = virtio_gpu_pci_realize; pcidev_k->class_id =PCI_CLASS_DISPLAY_OTHER ; }
Signature · 1 line
1.8.3.1
Quoted 5 lines · Gerd Hoffmann
We can't hotplug display adapters in qemu, tag virtio-gpu-pci accordingly (virtio-vga already has this).
Signed-off-by Gerd Hoffmann <[email protected]>
Reviewed-by Marc-André Lureau <[email protected]>
---
Quoted 20 lines
hw/display/virtio-gpu-pci.c | 1 + 1 file changed, 1 insertion(+)hw/display/virtio-gpu-pci.c +1
-0@@ -48,6 +48,7 @@ static void virtio_gpu_pci_class_init(ObjectClass *klass, void *data)set_bit (DEVICE_CATEGORY_DISPLAY , dc->categories); dc->props = virtio_gpu_pci_properties; + dc->hotpluggable = false; k->realize = virtio_gpu_pci_realize; pcidev_k->class_id =PCI_CLASS_DISPLAY_OTHER ;}
--
1.8.3.1
Quoted 1 line
--
Marc-André Lureau
Quoted 4 lines · Gerd Hoffmann
We can't hotplug display adapters in qemu, tag virtio-gpu-pci accordingly (virtio-vga already has this).
Signed-off-by Gerd Hoffmann <[email protected]>
I assume you merged this?
Quoted 18 lines
--- hw/display/virtio-gpu-pci.c | 1 + 1 file changed, 1 insertion(+)hw/display/virtio-gpu-pci.c +1
-0@@ -48,6 +48,7 @@ static void virtio_gpu_pci_class_init(ObjectClass *klass, void *data)set_bit (DEVICE_CATEGORY_DISPLAY , dc->categories); dc->props = virtio_gpu_pci_properties; + dc->hotpluggable = false; k->realize = virtio_gpu_pci_realize; pcidev_k->class_id =PCI_CLASS_DISPLAY_OTHER ; }Signature · 1 line
1.8.3.1
Quoted 9 lines · Michael S. Tsirkin
Quoted 4 lines · Gerd Hoffmann
We can't hotplug display adapters in qemu, tag virtio-gpu-pci accordingly (virtio-vga already has this).
Signed-off-by Gerd Hoffmann <[email protected]>I assume you merged this?
s/merged/will merged/ -> Yes.
cheers,
Gerd