diff options
author | Gerd Hoffmann | 2017-04-21 11:22:34 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2017-04-24 10:12:28 +0200 |
commit | 6f663d7be94efacf14ee84e71340a4f49011ac36 (patch) | |
tree | 97d842c5af6e7edf1d06bc879fec0c7be286fc4e /hw/display/qxl.h | |
parent | vmsvga: fix vmsvga_update_display (diff) | |
download | qemu-6f663d7be94efacf14ee84e71340a4f49011ac36.tar.gz qemu-6f663d7be94efacf14ee84e71340a4f49011ac36.tar.xz qemu-6f663d7be94efacf14ee84e71340a4f49011ac36.zip |
qxl: add xres and yres properties
Add properties for the default display resolution, pass
on that information to the guest so the driver can use it.
Also move up qxl_crc32() function so we don't need a
forward declaration.
Additionally guest driver updates are needed so the
guest driver will actually pick this up, which will
probably land in linux kernel 4.12.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20170421092234.8368-1-kraxel@redhat.com
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r-- | hw/display/qxl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h index 77e5a36dc5..f6556adb73 100644 --- a/hw/display/qxl.h +++ b/hw/display/qxl.h @@ -119,6 +119,8 @@ typedef struct PCIQXLDevice { uint32_t vram_size_mb; uint32_t vram32_size_mb; uint32_t vgamem_size_mb; + uint32_t xres; + uint32_t yres; /* qxl_render_update state */ int render_update_cookie_num; |