diff options
author | John Snow <jsnow@redhat.com> | 2015-02-25 18:06:37 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-10 14:02:23 +0100 |
commit | f9f963e0fbba98d7ece75287c40d0c1b249dc9b4 (patch) | |
tree | af2c70792a5d37d38bc03b513022ee8922dcd2b3 /tests/ahci-test.c | |
parent | d63b4017c2dff9cf0f15d06d5f604a97a30ef4c5 (diff) | |
download | hqemu-f9f963e0fbba98d7ece75287c40d0c1b249dc9b4.zip hqemu-f9f963e0fbba98d7ece75287c40d0c1b249dc9b4.tar.gz |
libqos/ahci: add ahci command helpers
ahci_command_set_flags: Set additional flags in the command header.
ahci_command_clr_flags: Clear flags from the command header.
ahci_command_set_offset: Change the IO sector from 0.
ahci_command_adjust: Adjust many values simultaneously.
To be used to adjust the command header if the default values/guesses
were incorrect or undesirable.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424905602-24715-4-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
[ kwolf: Fixed conflicting prototype for ahci_command_adjust() ]
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/ahci-test.c')
0 files changed, 0 insertions, 0 deletions