diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-08-29 14:21:00 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-03 08:31:50 +0200 |
commit | 3bb68f798da0234d5ca0ac6062aaa084afc83069 (patch) | |
tree | 765cf176677242b179c02acf3978d8b9abfc89ff /include | |
parent | 91155f8bf723434cd22c46b12a040ebe90b0d651 (diff) | |
download | qemu-3bb68f798da0234d5ca0ac6062aaa084afc83069.zip qemu-3bb68f798da0234d5ca0ac6062aaa084afc83069.tar.gz qemu-3bb68f798da0234d5ca0ac6062aaa084afc83069.tar.bz2 |
virtio-gpu: pass down VirtIOGPU pointer to a bunch of functions
No functional change, just preparation for a followup patch
which needs a VirtIOGPU pointer.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20180829122101.29852-2-kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/virtio/virtio-gpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h index 2374f02..c8c599f 100644 --- a/include/hw/virtio/virtio-gpu.h +++ b/include/hw/virtio/virtio-gpu.h @@ -159,10 +159,12 @@ void virtio_gpu_ctrl_response_nodata(VirtIOGPU *g, enum virtio_gpu_ctrl_type type); void virtio_gpu_get_display_info(VirtIOGPU *g, struct virtio_gpu_ctrl_command *cmd); -int virtio_gpu_create_mapping_iov(struct virtio_gpu_resource_attach_backing *ab, +int virtio_gpu_create_mapping_iov(VirtIOGPU *g, + struct virtio_gpu_resource_attach_backing *ab, struct virtio_gpu_ctrl_command *cmd, uint64_t **addr, struct iovec **iov); -void virtio_gpu_cleanup_mapping_iov(struct iovec *iov, uint32_t count); +void virtio_gpu_cleanup_mapping_iov(VirtIOGPU *g, + struct iovec *iov, uint32_t count); void virtio_gpu_process_cmdq(VirtIOGPU *g); /* virtio-gpu-3d.c */ |