summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorJohn Snow2016-02-10 19:29:40 +0100
committerJohn Snow2016-02-10 19:29:40 +0100
commitf8a6c5f3188b32db5c63e0759d390cb341888497 (patch)
tree1176962b7852f11f3c05df4c0c04653669958eda /include/exec/exec-all.h
parentahci: handle LIST_ON and FIS_ON in map helpers (diff)
downloadqemu-f8a6c5f3188b32db5c63e0759d390cb341888497.tar.gz
qemu-f8a6c5f3188b32db5c63e0759d390cb341888497.tar.xz
qemu-f8a6c5f3188b32db5c63e0759d390cb341888497.zip
ahci: explicitly reject bad engine states on post_load
Currently, we let ahci_cond_start_engines reject weird configurations where either the DMA (CLB) or FIS engines are said to be started, but their matching on/off control bit is toggled off. There should be no way to achieve this, since any time you toggle the control bit off, the status bit should always follow synchronously. Preparing for a refactor in cond_start_engines, move the rejection logic straight up into post_load. Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 1454103689-13042-4-git-send-email-jsnow@redhat.com
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions