Intented to help SeaBIOS development; untested there (except with QEMU test suite).
Jiaxun, is it helpful to you? Philippe Mathieu-Daudé (2): hw/ide/ahci: Introduce ahci_reset_delayed() and ahci_reset_complete() hw/ide/ahci: Delay a bit before completing reset include/hw/ide/ahci.h | 1 + hw/ide/ahci.c | 70 ++++++++++++++++++++++++++++++++++++++--- tests/qtest/ahci-test.c | 4 +++ hw/ide/trace-events | 1 + 4 files changed, 71 insertions(+), 5 deletions(-) -- 2.47.1