On 23/06/2026 18:35, Roland Clobus wrote:
This patch adds support for the fields that are currently configurable
in the function qemu_edid_generate.

Signed-off-by: Roland Clobus <[email protected]>

I've tested with this QEMU setting:
```
-device '{"driver":"virtio-vga-gl", "max_outputs":2, "id":"vga001", "outputs":[ { "vendor": "IVM", "name":"AAA", "serial": "42", "widthmm": 40, "heightmm": 30, "xres": 1024, "yres": 768, "xmax": 2048, "ymax": 1536, 
"refreshrate": 50000 }, { "vendor": "RHT", "name":"BBB", "serial": "43", "widthmm": 1000, "heightmm": 750, "xres": 800, "yres": 600, "xmax": 800, "ymax": 600, "refreshrate": 60000 } ]}'
```

Within the VM:
```
cat /sys/class/drm/card0-Virtual-1/edid | edid-decode
cat /sys/class/drm/card0-Virtual-2/edid | edid-decode
```

Both outputs had the correct vendor, name, serial, size, resolution and refresh 
rates.

With kind regards,
Roland Clobus

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to