qtest: add libqos including PCI support

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
This commit is contained in:
Anthony Liguori 2013-04-16 09:45:16 -05:00
parent 8a8fd63734
commit c4efe1cada
6 changed files with 495 additions and 2 deletions

20
tests/libqos/pci-pc.h Normal file
View file

@ -0,0 +1,20 @@
/*
* libqos PCI bindings for PC
*
* Copyright IBM, Corp. 2012-2013
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#ifndef LIBQOS_PCI_PC_H
#define LIBQOS_PCI_PC_H
#include "libqos/pci.h"
QPCIBus *qpci_init_pc(void);
#endif