• Gerd Hoffmann's avatar
    display/edid: add edid generator to qemu. · 72d277a7
    Gerd Hoffmann authored
    EDID is a metadata format to describe monitors.  On physical hardware
    the monitor has an eeprom with that data block which can be read over
    i2c bus.
    On a linux system you can usually find the EDID data block in
    /sys/class/drm/$card/$connector/edid.  xorg ships a edid-decode utility
    which you can use to turn the blob into readable form.
    I think it would be a good idea to use EDID for virtual displays too.
    Needs changes in both qemu and guest kms drivers.  This patch is the
    first step, it adds an generator for EDID blobs to qemu.  Comes with a
    qemu-edid test tool included.
    With EDID we can pass more information to the guest.  Names and serial
    numbers, so the guests display configuration has no boring "Unknown
    Monitor".  List of video modes.  Display resolution, pretty important
    in case we want add HiDPI support some day.
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Message-id: 20180925075646.25114-2-kraxel@redhat.com
qemu-edid.c 3.4 KB