]> Git Repo - qemu.git/commit - hw/ide/ahci.h
AHCI: Protect cmd register
authorJohn Snow <[email protected]>
Fri, 27 Mar 2015 19:48:11 +0000 (15:48 -0400)
committerJohn Snow <[email protected]>
Fri, 27 Mar 2015 19:48:11 +0000 (15:48 -0400)
commitfc3d8e1138cd0c843d6fd75272633a31be6554ef
tree574c1e3c0687d8379ea17dc95aa0316cdab2dc36
parenta13ab5a35bc0435fcfdacb3e171ceedcc077573d
AHCI: Protect cmd register

Many bits in the CMD register are supposed to be strictly read-only.
We should not be deleting them on every write.

As a side-effect: pay explicit attention to when a guest marks off
the FIS Receive or Start bits, and disable the status bits ourselves,
instead of letting them implicitly fall off.

Signed-off-by: John Snow <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 1426283454[email protected]
hw/ide/ahci.c
hw/ide/ahci.h
This page took 0.022116 seconds and 4 git commands to generate.