qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-gpu-pci: tag as not hotpluggable


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH] virtio-gpu-pci: tag as not hotpluggable
Date: Fri, 9 Sep 2016 21:16:24 +0300

On Thu, Sep 08, 2016 at 09:17:17AM +0200, Gerd Hoffmann wrote:
> We can't hotplug display adapters in qemu, tag virtio-gpu-pci
> accordingly (virtio-vga already has this).
> 
> Signed-off-by: Gerd Hoffmann <address@hidden>

Acked-by: Michael S. Tsirkin <address@hidden>

I assume you merged this?

> ---
>  hw/display/virtio-gpu-pci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/display/virtio-gpu-pci.c b/hw/display/virtio-gpu-pci.c
> index 34a724c..ef92c4a 100644
> --- a/hw/display/virtio-gpu-pci.c
> +++ b/hw/display/virtio-gpu-pci.c
> @@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]