]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
ahci: add test_pci_enable to ahci-test.
authorJohn Snow <jsnow@redhat.com>
Thu, 21 Aug 2014 17:44:35 +0000 (13:44 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:40 +0000 (11:39 +0100)
commit96d6d3bad978a4085b9560e30316c98cb6e0489c
treedcd4a153eb4023d00aa481ed498e9776c937f462
parent8840a843dc14adc9b6e7b5454ca64116e110a17c
ahci: add test_pci_enable to ahci-test.

This adds a test wherein we engage the PCI AHCI
device and ensure that the memory region for the
HBA functionality is now accessible.

Under Q35 environments, additional PCI configuration
is performed to ensure that the HBA functionality
will become usable.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1408643079-30675-5-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ahci-test.c
tests/libqos/pci.c