]> git.proxmox.com Git - mirror_qemu.git/blob - tests/libqos/pci-pc.h
tests/libqos: rename qpci_init_pc and qpci_init_spapr functions
[mirror_qemu.git] / tests / libqos / pci-pc.h
1 /*
2 * libqos PCI bindings for PC
3 *
4 * Copyright IBM, Corp. 2012-2013
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 */
12
13 #ifndef LIBQOS_PCI_PC_H
14 #define LIBQOS_PCI_PC_H
15
16 #include "libqos/pci.h"
17 #include "libqos/malloc.h"
18
19 /* qpci_pc_new():
20 * @qts: The %QTestState for this PC machine
21 * @alloc: A previously initialized @alloc providing memory for @qts
22 *
23 * This function creates a new QPCIBusPC object,
24 * and properly initialize its fields.
25 *
26 * Returns a newly allocated QPCIBus.
27 */
28 QPCIBus *qpci_new_pc(QTestState *qts, QGuestAllocator *alloc);
29
30 void qpci_free_pc(QPCIBus *bus);
31
32 #endif