summary refs log tree commit diff stats
path: root/hw/char/lm32_uart.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-03-27 15:48:11 -0400
committerJohn Snow <jsnow@redhat.com>2015-03-27 15:48:11 -0400
commitfc3d8e1138cd0c843d6fd75272633a31be6554ef (patch)
tree574c1e3c0687d8379ea17dc95aa0316cdab2dc36 /hw/char/lm32_uart.c
parenta13ab5a35bc0435fcfdacb3e171ceedcc077573d (diff)
downloadfocaccia-qemu-fc3d8e1138cd0c843d6fd75272633a31be6554ef.tar.gz
focaccia-qemu-fc3d8e1138cd0c843d6fd75272633a31be6554ef.zip
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 <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1426283454-15590-3-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/char/lm32_uart.c')
0 files changed, 0 insertions, 0 deletions