mbox series

[0/2] Misc fixes on vfio display

Message ID 20240628092815.164423-1-zhenzhong.duan@intel.com (mailing list archive)
Headers show
Series Misc fixes on vfio display | expand

Message

Duan, Zhenzhong June 28, 2024, 9:28 a.m. UTC
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(-)