aboutsummaryrefslogtreecommitdiff
path: root/tests/libqos/pci-spapr.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2016-09-29 12:32:44 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-06 16:15:40 +1100
commitcf716b31cba278a6dbff585d58fa29d1ae2fe334 (patch)
tree032a53f614772fee48a21bc215e379f7b6ad650c /tests/libqos/pci-spapr.h
parent2020b67d851affd9dd8b3732a5290d90be6187d1 (diff)
downloadqemu-cf716b31cba278a6dbff585d58fa29d1ae2fe334.zip
qemu-cf716b31cba278a6dbff585d58fa29d1ae2fe334.tar.gz
qemu-cf716b31cba278a6dbff585d58fa29d1ae2fe334.tar.bz2
libqos: add PPC64 PCI support
Signed-off-by: Laurent Vivier <lvivier@redhat.com> [dwg: Fixed build problem on 32-bit hosts] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/libqos/pci-spapr.h')
-rw-r--r--tests/libqos/pci-spapr.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/libqos/pci-spapr.h b/tests/libqos/pci-spapr.h
new file mode 100644
index 0000000..4192126
--- /dev/null
+++ b/tests/libqos/pci-spapr.h
@@ -0,0 +1,17 @@
+/*
+ * libqos PCI bindings for SPAPR
+ *
+ * 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_SPAPR_H
+#define LIBQOS_PCI_SPAPR_H
+
+#include "libqos/malloc.h"
+#include "libqos/pci.h"
+
+QPCIBus *qpci_init_spapr(QGuestAllocator *alloc);
+void qpci_free_spapr(QPCIBus *bus);
+
+#endif