]> git.proxmox.com Git - mirror_qemu.git/blob - include/sysemu/nvmm.h
hvf: Introduce hvf vcpu struct
[mirror_qemu.git] / include / sysemu / nvmm.h
1 /*
2 * Copyright (c) 2018-2019 Maxime Villard, All rights reserved.
3 *
4 * NetBSD Virtual Machine Monitor (NVMM) accelerator support.
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10 #ifndef QEMU_NVMM_H
11 #define QEMU_NVMM_H
12
13 #include "config-host.h"
14 #include "qemu-common.h"
15
16 #ifdef CONFIG_NVMM
17
18 int nvmm_enabled(void);
19
20 #else /* CONFIG_NVMM */
21
22 #define nvmm_enabled() (0)
23
24 #endif /* CONFIG_NVMM */
25
26 #endif /* CONFIG_NVMM */