mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
7f2a5ae6c1
Allow users the chance to clean up the QPCIBusPC structure by adding a small cleanup routine. Helps clear up small memory leaks during setup/teardown, to allow for cleaner debug output messages. Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
22 lines
414 B
C
22 lines
414 B
C
/*
|
|
* 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);
|
|
void qpci_free_pc(QPCIBus *bus);
|
|
|
|
#endif
|