summaryrefslogtreecommitdiffstats
path: root/hw/sparc
diff options
context:
space:
mode:
authorMark Cave-Ayland2016-08-05 09:30:02 +0200
committerDavid Gibson2016-08-08 01:45:03 +0200
commit16275edb342342625cd7e7ac2048436474465b50 (patch)
treed63342e1280abd7f87def93b0b3cf3519bdac42a /hw/sparc
parentspapr: Correctly set query_hotpluggable_cpus hook based on machine version (diff)
downloadqemu-16275edb342342625cd7e7ac2048436474465b50.tar.gz
qemu-16275edb342342625cd7e7ac2048436474465b50.tar.xz
qemu-16275edb342342625cd7e7ac2048436474465b50.zip
macio: set res_count value to 0 after non-block ATAPI DMA transfers
res_count should be set to the number of outstanding bytes after a DBDMA request. Unfortunately this wasn't being set to zero by the non-block transfer codepath meaning drivers that checked the descriptor result for such requests (e.g reading the CDROM TOC) would assume from a non-zero result that the transfer had failed. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/sparc')
0 files changed, 0 insertions, 0 deletions