summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorVivek Kasireddy <vivek.kasireddy@intel.com>2021-05-26 16:14:21 -0700
committerGerd Hoffmann <kraxel@redhat.com>2021-05-27 12:07:37 +0200
commite64d4b6a9bc3ba216a988276bcdc27d06fd48e59 (patch)
treebc3e8145deadc4e28a747e32a7b2336738fd98d7 /qemu-io-cmds.c
parent25c001a40346342550ba152817ab306b6df0bd77 (diff)
downloadfocaccia-qemu-e64d4b6a9bc3ba216a988276bcdc27d06fd48e59.tar.gz
focaccia-qemu-e64d4b6a9bc3ba216a988276bcdc27d06fd48e59.zip
virtio-gpu: Refactor virtio_gpu_set_scanout
Store the meta-data associated with a FB in a new object
(struct virtio_gpu_framebuffer) and pass the object to set_scanout.
Also move code in set_scanout into a do_set_scanout function.
This will be helpful when adding set_scanout_blob API.

Based-on-patch-by: Gerd Hoffmann <kraxel@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210526231429.1045476-7-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions