Blame view
include/linux/kvm_para.h
260 Bytes
102d8325a
|
1 2 |
#ifndef __LINUX_KVM_PARA_H #define __LINUX_KVM_PARA_H |
607ca46e9
|
3 |
#include <uapi/linux/kvm_para.h> |
102d8325a
|
4 |
|
0cf1bfd27
|
5 |
|
7aa81cc04
|
6 7 |
static inline int kvm_para_has_feature(unsigned int feature) { |
5f43238d0
|
8 |
if (kvm_arch_para_features() & (1UL << feature)) |
7aa81cc04
|
9 10 11 |
return 1; return 0; } |
5f43238d0
|
12 |
#endif /* __LINUX_KVM_PARA_H */ |