Linux Audio

Check our new training course

Loading...
v5.14.15
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __LINUX_KVM_PARA_H
 3#define __LINUX_KVM_PARA_H
 4
 5#include <uapi/linux/kvm_para.h>
 6
 7
 8static inline bool kvm_para_has_feature(unsigned int feature)
 9{
10	return !!(kvm_arch_para_features() & (1UL << feature));
11}
12
13static inline bool kvm_para_has_hint(unsigned int feature)
14{
15	return !!(kvm_arch_para_hints() & (1UL << feature));
16}
17#endif /* __LINUX_KVM_PARA_H */
v4.6
 
 1#ifndef __LINUX_KVM_PARA_H
 2#define __LINUX_KVM_PARA_H
 3
 4#include <uapi/linux/kvm_para.h>
 5
 6
 7static inline bool kvm_para_has_feature(unsigned int feature)
 8{
 9	return !!(kvm_arch_para_features() & (1UL << feature));
 
 
 
 
 
10}
11#endif /* __LINUX_KVM_PARA_H */