blob: e130a4a03530da514e88224030c67191ba7f2227 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __KVM_VFIO_H
3#define __KVM_VFIO_H
4
5#ifdef CONFIG_KVM_VFIO
6int kvm_vfio_ops_init(void);
7void kvm_vfio_ops_exit(void);
8#else
9static inline int kvm_vfio_ops_init(void)
10{
11 return 0;
12}
13static inline void kvm_vfio_ops_exit(void)
14{
15}
16#endif
17
18#endif