* [Qemu-devel] [PATCH] hw/display/virtio-gpu: Put the virtio-gpu-device into the display category
@ 2017-09-15 8:46 Thomas Huth
2017-09-24 20:58 ` Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2017-09-15 8:46 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann, Michael S. Tsirkin, qemu-trivial
The virtio-gpu-pci device is already in the display category, so the
virtio-gpu-device should be there, too.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/display/virtio-gpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c
index f0761cf..cc9385d 100644
--- a/hw/display/virtio-gpu.c
+++ b/hw/display/virtio-gpu.c
@@ -1279,6 +1279,7 @@ static void virtio_gpu_class_init(ObjectClass *klass, void *data)
vdc->reset = virtio_gpu_reset;
+ set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
dc->props = virtio_gpu_properties;
dc->vmsd = &vmstate_virtio_gpu;
dc->hotpluggable = false;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/display/virtio-gpu: Put the virtio-gpu-device into the display category
2017-09-15 8:46 [Qemu-devel] [PATCH] hw/display/virtio-gpu: Put the virtio-gpu-device into the display category Thomas Huth
@ 2017-09-24 20:58 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2017-09-24 20:58 UTC (permalink / raw)
To: Thomas Huth, qemu-devel; +Cc: qemu-trivial, Gerd Hoffmann, Michael S. Tsirkin
15.09.2017 11:46, Thomas Huth wrote:
> The virtio-gpu-pci device is already in the display category, so the
> virtio-gpu-device should be there, too.
Applied to -trivial, thanks!
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-24 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-15 8:46 [Qemu-devel] [PATCH] hw/display/virtio-gpu: Put the virtio-gpu-device into the display category Thomas Huth
2017-09-24 20:58 ` Michael Tokarev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.