Skip to content
Snippets Groups Projects
Commit 25f6fe67 authored by Xiangyou Xie's avatar Xiangyou Xie Committed by Yang Yingliang
Browse files

arm64: Add some definitions of kvm_para*

hulk inclusion
category: feature
bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=34


CVE: NA

Currently, ARM does not support kvm_para* of KVM_GUEST. We provide
some definitions of kvm_para* functions, although it is only a
simple return.

Signed-off-by: default avatarXiangyou Xie <xiexiangyou@huawei.com>
Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
Reviewed-by: default avatarzhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarJiajun Chen <chenjiajun8@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 0259804a
No related branches found
No related tags found
No related merge requests found
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_ARM64_KVM_PARA_H
#define _ASM_ARM64_KVM_PARA_H
#define KVM_HINTS_REALTIME 0
static inline bool kvm_check_and_clear_guest_paused(void)
{
return false;
}
static inline bool kvm_para_available(void)
{
return false;
}
static inline unsigned int kvm_arch_para_features(void)
{
return 0;
}
static inline unsigned int kvm_arch_para_hints(void)
{
return 0;
}
#endif /* _ASM_ARM64_KVM_PARA_H */
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment