2007-02-19 20:37:47 +08:00
|
|
|
#ifndef __LINUX_KVM_PARA_H
|
|
|
|
#define __LINUX_KVM_PARA_H
|
|
|
|
|
2012-10-13 17:46:48 +08:00
|
|
|
#include <uapi/linux/kvm_para.h>
|
2007-02-19 20:37:47 +08:00
|
|
|
|
2008-02-23 01:21:36 +08:00
|
|
|
|
2007-09-18 03:57:50 +08:00
|
|
|
static inline int kvm_para_has_feature(unsigned int feature)
|
|
|
|
{
|
2007-10-11 21:34:17 +08:00
|
|
|
if (kvm_arch_para_features() & (1UL << feature))
|
2007-09-18 03:57:50 +08:00
|
|
|
return 1;
|
|
|
|
return 0;
|
|
|
|
}
|
2007-10-11 21:34:17 +08:00
|
|
|
#endif /* __LINUX_KVM_PARA_H */
|