qxl: add xres and yres properties
commit6f663d7be94efacf14ee84e71340a4f49011ac36
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 21 Apr 2017 09:22:34 +0000 (21 11:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Apr 2017 08:12:28 +0000 (24 10:12 +0200)
tree97d842c5af6e7edf1d06bc879fec0c7be286fc4e
parent104bd1dc707649fe39d0d1405ba7268ebc26edd5
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
hw/display/qxl.c
hw/display/qxl.h