diff options
author | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:04 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:04 -0400 |
commit | 7c03a691077e71a08bbca06568cd97f09537458c (patch) | |
tree | 6dbd01fcba9ccd91692cd9b575f39ede24cfad3c /hw/ide/ahci.h | |
parent | 54f3223730736fca1e6e89bb7f99c4f8432fdabb (diff) | |
download | qemu-7c03a691077e71a08bbca06568cd97f09537458c.zip |
ahci: add rwerror=stop support for ncq
Handle NCQ failures for cases where we want to halt the VM on IO errors.
Upon a VM state change, retry the halted NCQ commands.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435767578-32743-7-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r-- | hw/ide/ahci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h index 33607d7fad..47a3122270 100644 --- a/hw/ide/ahci.h +++ b/hw/ide/ahci.h @@ -262,6 +262,7 @@ typedef struct NCQTransferState { uint8_t cmd; int slot; int used; + bool halt; } NCQTransferState; struct AHCIDevice { |