vfio: Check guest IOVA ranges against host IOMMU capabilities
[qemu/ar7.git] / tests / libqos / malloc-pc.h
blob86ab9f0429b02fdfd4a4696903addb5d6389393c
1 /*
2 * libqos malloc support for PC
4 * Copyright IBM, Corp. 2012-2013
6 * Authors:
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_MALLOC_PC_H
14 #define LIBQOS_MALLOC_PC_H
16 #include "libqos/malloc.h"
18 QGuestAllocator *pc_alloc_init(void);
19 QGuestAllocator *pc_alloc_init_flags(QAllocOpts flags);
20 void pc_alloc_uninit(QGuestAllocator *allocator);
22 #endif