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