diff options
Diffstat (limited to 'tests/libqos/pci-pc.h')
-rw-r--r-- | tests/libqos/pci-pc.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/libqos/pci-pc.h b/tests/libqos/pci-pc.h index 491eeac756..5be68ba7de 100644 --- a/tests/libqos/pci-pc.h +++ b/tests/libqos/pci-pc.h @@ -16,7 +16,17 @@ #include "libqos/pci.h" #include "libqos/malloc.h" -QPCIBus *qpci_init_pc(QTestState *qts, QGuestAllocator *alloc); +/* qpci_pc_new(): + * @qts: The %QTestState for this PC machine + * @alloc: A previously initialized @alloc providing memory for @qts + * + * This function creates a new QPCIBusPC object, + * and properly initialize its fields. + * + * Returns a newly allocated QPCIBus. + */ +QPCIBus *qpci_new_pc(QTestState *qts, QGuestAllocator *alloc); + void qpci_free_pc(QPCIBus *bus); #endif |