blob: ab88c7dc05143f764a29ee30a9b03167794eb06e [file] [log] [blame]
Paolo Bonzini3c3c29f2014-09-24 13:02:46 +02001#ifndef __KVM_VFIO_H
2#define __KVM_VFIO_H
3
4#ifdef CONFIG_KVM_VFIO
5int kvm_vfio_ops_init(void);
Wanpeng Li571ee1b2014-10-09 18:30:08 +08006void kvm_vfio_ops_exit(void);
Paolo Bonzini3c3c29f2014-09-24 13:02:46 +02007#else
8static inline int kvm_vfio_ops_init(void)
9{
10 return 0;
11}
Wanpeng Li571ee1b2014-10-09 18:30:08 +080012static inline void kvm_vfio_ops_exit(void)
13{
14}
Paolo Bonzini3c3c29f2014-09-24 13:02:46 +020015#endif
16
17#endif