The patch was developed during the debug for the UEFI SCT issue reported in https://bugzilla.tianocore.org/show_bug.cgi?id=4016. After fixing the issue in EDK2 the test was still failing on qemu since qemu wouldn't return abort and instead we would get a command timeout. Additionally qemu also has another bug in that it reports support for storage security commands which it doesn't support(will file a bug).
Tests: - tested against UEFI SCT test mentioned in bugzilla and it is passing. - able to read/write files on ahci controller from UEFI. Mateusz Albecki (1): hw/ide/core.c: fix handling of unsupported commands hw/ide/core.c | 1 + 1 file changed, 1 insertion(+) -- 2.40.0