diff options
| author | Fiona Ebner <f.ebner@proxmox.com> | 2023-09-06 15:09:22 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 13:08:48 +0100 |
| commit | cc610857bbd3551f4b86ae2299336b5d9aa0db2b (patch) | |
| tree | 9bc5a3bcdbd286c1812681f9d7d630db954739a7 /hw/i2c | |
| parent | 7d7512019fc40c577e2bdd61f114f31a9eb84a8e (diff) | |
| download | focaccia-qemu-cc610857bbd3551f4b86ae2299336b5d9aa0db2b.tar.gz focaccia-qemu-cc610857bbd3551f4b86ae2299336b5d9aa0db2b.zip | |
tests/qtest: ahci-test: add test exposing reset issue with pending callback
Before commit "hw/ide: reset: cancel async DMA operation before resetting state", this test would fail, because a reset with a pending write operation would lead to an unsolicited write to the first sector of the disk. The test writes a pattern to the beginning of the disk and verifies that it is still intact after a reset with a pending operation. It also checks that the pending operation actually completes correctly. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20230906130922.142845-2-f.ebner@proxmox.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/i2c')
0 files changed, 0 insertions, 0 deletions