Hi, This is trying to address an issue Cédric found. See https://www.mail-archive.com/qemu-devel@nongnu.org/msg1043142.html While looking into it, also found a potential memory leak.
I'm sorry that I didn't find how to test this fix, because it looks a GFX card is needed. Any idea on how to test or help test are quite appreciated. Thanks Zhenzhong Zhenzhong Duan (2): vfio/display: Fix potential memleak of edid info vfio/display: Fix vfio_display_edid_init() error path hw/vfio/display.c | 15 +++++++++------ hw/vfio/helpers.c | 1 + 2 files changed, 10 insertions(+), 6 deletions(-) -- 2.34.1