diff options
author | Gerd Hoffmann | 2021-04-30 13:35:34 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2021-05-10 13:55:28 +0200 |
commit | 37f86af087397688c7de4ea4ddf05449d48e6ee0 (patch) | |
tree | 17e0140a03ecc1c9b7db7e5d4e5d873d20915257 /include/hw/virtio | |
parent | virtio-gpu: add virtio-gpu-gl-device (diff) | |
download | qemu-37f86af087397688c7de4ea4ddf05449d48e6ee0.tar.gz qemu-37f86af087397688c7de4ea4ddf05449d48e6ee0.tar.xz qemu-37f86af087397688c7de4ea4ddf05449d48e6ee0.zip |
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>
Diffstat (limited to 'include/hw/virtio')
-rw-r--r-- | include/hw/virtio/virtio-gpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h index 5b2d011b49..7430f3cd99 100644 --- a/include/hw/virtio/virtio-gpu.h +++ b/include/hw/virtio/virtio-gpu.h @@ -221,6 +221,7 @@ int virtio_gpu_create_mapping_iov(VirtIOGPU *g, void virtio_gpu_cleanup_mapping_iov(VirtIOGPU *g, struct iovec *iov, uint32_t count); void virtio_gpu_process_cmdq(VirtIOGPU *g); +void virtio_gpu_device_realize(DeviceState *qdev, Error **errp); /* virtio-gpu-3d.c */ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g, |