Commit | Line | Data |
---|---|---|
102d8325 IM |
1 | #ifndef __LINUX_KVM_PARA_H |
2 | #define __LINUX_KVM_PARA_H | |
3 | ||
607ca46e | 4 | #include <uapi/linux/kvm_para.h> |
102d8325 | 5 | |
0cf1bfd2 | 6 | |
7aa81cc0 AL |
7 | static inline int kvm_para_has_feature(unsigned int feature) |
8 | { | |
5f43238d | 9 | if (kvm_arch_para_features() & (1UL << feature)) |
7aa81cc0 AL |
10 | return 1; |
11 | return 0; | |
12 | } | |
5f43238d | 13 | #endif /* __LINUX_KVM_PARA_H */ |