summaryrefslogtreecommitdiffstats
path: root/tests/libqos/ahci.h
diff options
context:
space:
mode:
authorJohn Snow2015-02-05 18:41:12 +0100
committerStefan Hajnoczi2015-02-16 16:07:16 +0100
commite77448a385dc72fa671752ec11c84c931f316d09 (patch)
tree3910d33918ca8b913467b7c811942248458ecb9d /tests/libqos/ahci.h
parentdataplane: endianness-aware accesses (diff)
downloadqemu-e77448a385dc72fa671752ec11c84c931f316d09.tar.gz
qemu-e77448a385dc72fa671752ec11c84c931f316d09.tar.xz
qemu-e77448a385dc72fa671752ec11c84c931f316d09.zip
libqos/ahci: Add ahci_port_select helper
This helper identifies which port of the AHCI HBA has a device we may run tests on. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1423158090-25580-2-git-send-email-jsnow@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/libqos/ahci.h')
-rw-r--r--tests/libqos/ahci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libqos/ahci.h b/tests/libqos/ahci.h
index 77f205590e..b3992e19e5 100644
--- a/tests/libqos/ahci.h
+++ b/tests/libqos/ahci.h
@@ -431,5 +431,6 @@ void free_ahci_device(QPCIDevice *dev);
void ahci_pci_enable(AHCIQState *ahci);
void start_ahci_device(AHCIQState *ahci);
void ahci_hba_enable(AHCIQState *ahci);
+unsigned ahci_port_select(AHCIQState *ahci);
#endif