]>
Commit | Line | Data |
---|---|---|
3c3c29fd PB |
1 | #ifndef __KVM_VFIO_H |
2 | #define __KVM_VFIO_H | |
3 | ||
4 | #ifdef CONFIG_KVM_VFIO | |
5 | int kvm_vfio_ops_init(void); | |
571ee1b6 | 6 | void kvm_vfio_ops_exit(void); |
3c3c29fd PB |
7 | #else |
8 | static inline int kvm_vfio_ops_init(void) | |
9 | { | |
10 | return 0; | |
11 | } | |
571ee1b6 WL |
12 | static inline void kvm_vfio_ops_exit(void) |
13 | { | |
14 | } | |
3c3c29fd PB |
15 | #endif |
16 | ||
17 | #endif |