Merge tag 'pull-request-2024-06-12' of https://gitlab.com/thuth/qemu into staging
[qemu/kevin.git] / include / sysemu / nvmm.h
blob6971ddb3a5a39fe79623fc4219645e506a3d23bb
1 /*
2 * Copyright (c) 2018-2019 Maxime Villard, All rights reserved.
4 * NetBSD Virtual Machine Monitor (NVMM) accelerator support.
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 */
10 /* header to be included in non-NVMM-specific code */
12 #ifndef QEMU_NVMM_H
13 #define QEMU_NVMM_H
15 #ifdef COMPILING_PER_TARGET
17 #ifdef CONFIG_NVMM
19 int nvmm_enabled(void);
21 #else /* CONFIG_NVMM */
23 #define nvmm_enabled() (0)
25 #endif /* CONFIG_NVMM */
27 #endif /* COMPILING_PER_TARGET */
29 #endif /* QEMU_NVMM_H */