mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
virtio-gpu: add virtio-gpu-gl-device
Just a skeleton for starters, following patches will add more code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20210430113547.1816178-1-kraxel@redhat.com Message-Id: <20210430113547.1816178-3-kraxel@redhat.com>
This commit is contained in:
parent
7d2ad4e1e8
commit
063cd34a03
4 changed files with 50 additions and 1 deletions
|
@ -31,6 +31,9 @@ OBJECT_DECLARE_TYPE(VirtIOGPUBase, VirtIOGPUBaseClass,
|
|||
#define TYPE_VIRTIO_GPU "virtio-gpu-device"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(VirtIOGPU, VIRTIO_GPU)
|
||||
|
||||
#define TYPE_VIRTIO_GPU_GL "virtio-gpu-gl-device"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(VirtIOGPUGL, VIRTIO_GPU_GL)
|
||||
|
||||
#define TYPE_VHOST_USER_GPU "vhost-user-gpu"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(VhostUserGPU, VHOST_USER_GPU)
|
||||
|
||||
|
@ -163,6 +166,10 @@ struct VirtIOGPU {
|
|||
} stats;
|
||||
};
|
||||
|
||||
struct VirtIOGPUGL {
|
||||
struct VirtIOGPU parent_obj;
|
||||
};
|
||||
|
||||
struct VhostUserGPU {
|
||||
VirtIOGPUBase parent_obj;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue