Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_GENERIC_KVM_PARA_H
3#define _ASM_GENERIC_KVM_PARA_H
4
5#include <uapi/asm-generic/kvm_para.h>
6
7
8/*
9 * This function is used by architectures that support kvm to avoid issuing
10 * false soft lockup messages.
11 */
12static inline bool kvm_check_and_clear_guest_paused(void)
13{
14 return false;
15}
16
17static inline unsigned int kvm_arch_para_features(void)
18{
19 return 0;
20}
21
22static inline unsigned int kvm_arch_para_hints(void)
23{
24 return 0;
25}
26
27static inline bool kvm_para_available(void)
28{
29 return false;
30}
31
32#endif
1#ifndef _ASM_GENERIC_KVM_PARA_H
2#define _ASM_GENERIC_KVM_PARA_H
3
4#ifdef __KERNEL__
5
6/*
7 * This function is used by architectures that support kvm to avoid issuing
8 * false soft lockup messages.
9 */
10static inline bool kvm_check_and_clear_guest_paused(void)
11{
12 return false;
13}
14
15static inline unsigned int kvm_arch_para_features(void)
16{
17 return 0;
18}
19
20#endif /* _KERNEL__ */
21
22#endif