Hi, While testing q35 I found data corruption on reads from the cdrom on the ahci controller. The first patch addresses this issue. I also noticed that there is a memory leak in the ahci code, which is addressed in the second patch.
Thanks, -Jason v2: fprintf -> DPRINTF (so can't be triggered by guest) 0 sglist fields Jason Baron (2): ahci: Fix ahci cdrom read corruptions for reads > 128k ahci: Fix sglist memleak in ahci_dma_rw_buf() dma-helpers.c | 1 + hw/ide/ahci.c | 44 +++++++++++++++++++++++++++++++++++++------- hw/ide/internal.h | 1 + 3 files changed, 39 insertions(+), 7 deletions(-)