blob: 728e5c5706c4e28dc7f4b94dfa3027ddba816bef [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Eric B Munson3b5d56b2012-03-10 14:37:26 -05002#ifndef _ASM_GENERIC_KVM_PARA_H
3#define _ASM_GENERIC_KVM_PARA_H
4
David Howells8a1ab312012-10-04 18:20:15 +01005#include <uapi/asm-generic/kvm_para.h>
6
Eric B Munson3b5d56b2012-03-10 14:37:26 -05007
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
Marcelo Tosatti1f15d102012-04-20 18:21:46 -030017static inline unsigned int kvm_arch_para_features(void)
18{
19 return 0;
20}
21
Wanpeng Lia4429e52018-02-13 09:05:40 +080022static inline unsigned int kvm_arch_para_hints(void)
23{
24 return 0;
25}
26
James Hogan066a1a52013-05-22 12:29:22 +010027static inline bool kvm_para_available(void)
28{
29 return false;
30}
31
Eric B Munson3b5d56b2012-03-10 14:37:26 -050032#endif