1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #ifndef __KVM_VFIO_H 1 #ifndef __KVM_VFIO_H 3 #define __KVM_VFIO_H 2 #define __KVM_VFIO_H 4 3 5 #ifdef CONFIG_KVM_VFIO 4 #ifdef CONFIG_KVM_VFIO 6 int kvm_vfio_ops_init(void); 5 int kvm_vfio_ops_init(void); 7 void kvm_vfio_ops_exit(void); 6 void kvm_vfio_ops_exit(void); 8 #else 7 #else 9 static inline int kvm_vfio_ops_init(void) 8 static inline int kvm_vfio_ops_init(void) 10 { 9 { 11 return 0; 10 return 0; 12 } 11 } 13 static inline void kvm_vfio_ops_exit(void) 12 static inline void kvm_vfio_ops_exit(void) 14 { 13 { 15 } 14 } 16 #endif 15 #endif 17 16 18 #endif 17 #endif 19 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.