edid: add xmax + ymax properties
commit9b330e482fc652b96a61e25a575aed87c091715d
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 7 Jun 2019 08:34:29 +0000 (7 10:34 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 13 Jun 2019 07:34:38 +0000 (13 09:34 +0200)
treefabaeedc8fc238797e55ff3685226f790e5fa901
parenta050901d4b40092dc356b59912c6df39e389c7b9
edid: add xmax + ymax properties

Add new properties to allow setting the maximum display resolution.
Resolutions larger than that will not be included in the mode list.
In linux guests xrandr can be used to list modes.

Note: The existing xres and yres properties set the preferred display
resolution, i.e. the mode should be first in the mode list and guests
should use it by default.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190607083429.31943-1-kraxel@redhat.com
include/hw/display/edid.h