blob: 00a97bb905db03a007450351441c823b8fa19112 [file] [log] [blame]
Ingo Molnar102d8322007-02-19 14:37:47 +02001#ifndef __LINUX_KVM_PARA_H
2#define __LINUX_KVM_PARA_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/kvm_para.h>
Anthony Liguori7aa81cc2007-09-17 14:57:50 -05005
Marcelo Tosatti0cf1bfd2008-02-22 12:21:36 -05006
Anthony Liguori7aa81cc2007-09-17 14:57:50 -05007static inline int kvm_para_has_feature(unsigned int feature)
8{
Christian Borntraeger5f432382007-10-11 15:34:17 +02009 if (kvm_arch_para_features() & (1UL << feature))
Anthony Liguori7aa81cc2007-09-17 14:57:50 -050010 return 1;
11 return 0;
12}
Christian Borntraeger5f432382007-10-11 15:34:17 +020013#endif /* __LINUX_KVM_PARA_H */