summaryrefslogtreecommitdiffstats
path: root/tests/libqos/pci.c
Commit message (Collapse)AuthorAgeFilesLines
* ahci: add test_pci_enable to ahci-test.John Snow2014-09-221-0/+6
| | | | | | | | | | | | | | 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>
* libqos: Added MSI-X supportMarc MarĂ­2014-09-081-2/+109
| | | | | | | | | Added MSI-X support for qtest PCI. Added MSI-X support for virtio-pci. Added MSI-X test case in virtio-blk-test. Signed-off-by: Marc MarĂ­ <marc.mari.barcelo@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* libqos: allow qpci_iomap to return BAR mapping sizeJohn Snow2014-08-151-2/+2
| | | | | | | | | | | This patch allows qpci_iomap to return the size of the BAR mapping that it created, to allow driver applications (e.g, ahci-test) to make determinations about the suitability or the mapping size, or in the specific case of AHCI, how many ports are supported by the HBA. Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* qtest: fix qpci_config_writelGerd Hoffmann2014-06-021-1/+1
| | | | | | Found by Paolo. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* libqos/pci: Enable bus masteringKevin Wolf2013-05-081-1/+1
| | | | Signed-off-by: Kevin Wolf <kwolf@redhat.com>
* qtest: add libqos including PCI supportAnthony Liguori2013-04-171-0/+151
This includes basic PCI support for the PC platform. Enough abstraction should be present to support non-PC platforms too. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1366123521-4330-3-git-send-email-aliguori@us.ibm.com
OpenPOWER on IntegriCloud