aboutsummaryrefslogtreecommitdiff
path: root/scripts/cocci-macro-file.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-03-04 22:10:34 +0000
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-03-07 10:39:05 +0000
commit6cc88d6bf932a905ce36e933dc078eeb6b54ac92 (patch)
tree51c86f762e37ff6f8211372c20c37a32db5b0365 /scripts/cocci-macro-file.h
parent5eb7a23fb22f10f09cecba61e7bf61cecaee3f96 (diff)
downloadqemu-6cc88d6bf932a905ce36e933dc078eeb6b54ac92.zip
qemu-6cc88d6bf932a905ce36e933dc078eeb6b54ac92.tar.gz
qemu-6cc88d6bf932a905ce36e933dc078eeb6b54ac92.tar.bz2
esp: remove dma_left from ESPState
The ESP device already keeps track of the remaining bytes left to transfer via its TC (transfer counter) register which is decremented for each byte that is transferred across the SCSI bus. Switch the transfer logic to use the value of TC instead of dma_left and then remove dma_left completely, adding logic to the vmstate_esp post_load() function to transfer the old dma_left value to the TC register during migration from older versions. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210304221103.6369-14-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'scripts/cocci-macro-file.h')
0 files changed, 0 insertions, 0 deletions