Files
parallel-ps2/tests/ata
LibretroAdmin 5f4d308ab8 DEV9: an HDD image the host cannot read or write fails the guest's command
A read of the image the host fails ends the guest's read command with
ERR and an uncorrectable-data error, without its data phase, whether the
read was synchronous or ran on the IO thread. A queued write the host
fails is dropped, and the flush that follows - the guest's FLUSH CACHE,
or the completion of a write with the write cache off - ends with ERR,
write fault and abort; the next flush reports only its own writes. A
sparse block the host cannot read falls back to plain writes. A failure
is logged once until an access succeeds. None of them stops the process.

tests/ata swaps the image under the device for one the host cannot use
- a copy cut short for reads, the image opened read-only for writes -
and checks each error, and that reads and writes work again after.
2026-10-09 09:11:17 +02:00
..