]>
git.proxmox.com Git - mirror_qemu.git/blob - tests/libqos/pci-pc.h
2 * libqos PCI bindings for PC
4 * Copyright IBM, Corp. 2012-2013
7 * Anthony Liguori <aliguori@us.ibm.com>
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.
13 #ifndef LIBQOS_PCI_PC_H
14 #define LIBQOS_PCI_PC_H
16 #include "libqos/pci.h"
17 #include "libqos/malloc.h"
20 * @qts: The %QTestState for this PC machine
21 * @alloc: A previously initialized @alloc providing memory for @qts
23 * This function creates a new QPCIBusPC object,
24 * and properly initialize its fields.
26 * Returns a newly allocated QPCIBus.
28 QPCIBus
*qpci_new_pc(QTestState
*qts
, QGuestAllocator
*alloc
);
30 void qpci_free_pc(QPCIBus
*bus
);