virtio-gpu: move virgl realize + properties
commit37f86af087397688c7de4ea4ddf05449d48e6ee0
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 30 Apr 2021 11:35:34 +0000 (30 13:35 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 May 2021 11:55:28 +0000 (10 13:55 +0200)
tree17e0140a03ecc1c9b7db7e5d4e5d873d20915257
parent063cd34a03e2a12bf338137410cb972250fe5027
virtio-gpu: move virgl realize + properties

Move device init (realize) and properties.

Drop the virgl property, the virtio-gpu-gl-device has virgl enabled no
matter what.  Just use virtio-gpu-device instead if you don't want
enable virgl and opengl.  This simplifies the logic and reduces the test
matrix.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-4-kraxel@redhat.com>
hw/display/virtio-gpu-gl.c
hw/display/virtio-gpu.c
include/hw/virtio/virtio-gpu.h