OSDN Git Service

ahci: add rwerror=stop support for ncq
authorJohn Snow <jsnow@redhat.com>
Sat, 4 Jul 2015 06:06:04 +0000 (02:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Sat, 4 Jul 2015 06:06:04 +0000 (02:06 -0400)
commit7c03a691077e71a08bbca06568cd97f09537458c
tree6dbd01fcba9ccd91692cd9b575f39ede24cfad3c
parent54f3223730736fca1e6e89bb7f99c4f8432fdabb
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
hw/ide/ahci.c
hw/ide/ahci.h
hw/ide/core.c
hw/ide/internal.h