mbox series

[v1,0/2] virtio-gpu: Provide display position info (x, y) to the Guest

Message ID 20221118013723.182424-1-vivek.kasireddy@intel.com (mailing list archive)
Headers show
Series virtio-gpu: Provide display position info (x, y) to the Guest | expand

Message

Kasireddy, Vivek Nov. 18, 2022, 1:37 a.m. UTC
While filling out the display info such as width, height to
be provided to the Guest, make sure that the position information
(x, y) is also included. This position info corresponds with the
x and y fields mentioned in the spec:
https://github.com/oasis-tcs/virtio-spec/blob/master/virtio-gpu.tex#L343

Cc: Dongwon Kim <dongwon.kim@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>

Vivek Kasireddy (2):
  virtio-gpu: Provide position info (x, y) to the Guest
  ui/gtk: Include the position info while setting the ui info

 hw/display/virtio-gpu-base.c |  2 ++
 ui/gtk.c                     | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+)