Red Hat Bugzilla – Bug 887844
AHCI does not support restarting requests (i.e. rerror=stop and werror=stop/enospc)
Last modified: 2016-03-23 06:25:47 EDT
Description of problem:
AHCI provides a dummy implementation of restart_cb. Hence, it will not properly restart after the VM is paused for an I/O error (including ENOSPC).
Version-Release number of selected component (if applicable):
The patches that enable this have gone upstream, but it's impossible to meaningfully test them without AHCI migration, so this issue is now blocked on #901631.
Included in rebase to qemu 2.5.0.
Instructions for testing:
- Use -werror=stop or -rerror=stop
- Trigger an ENOSPC error either through blkdebug or a legitimate out of space error.
- Observe VM has paused.
- If not using BLKDEBUG method, correct ENOSPC issue
- Resume VM
- Observe that VM is running and transfer(s) have succeeded.
The qemu/tests/ahci-test suite already tests this workflow.