brintos

brintos / linux-shallow public Read only

0
0
Text · 1016 B · 960c7e9 Raw
40 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2#ifndef _UAPI__LINUX_KVM_PARA_H3#define _UAPI__LINUX_KVM_PARA_H4 5/*6 * This header file provides a method for making a hypercall to the host7 * Architectures should define:8 * - kvm_hypercall0, kvm_hypercall1...9 * - kvm_arch_para_features10 * - kvm_para_available11 */12 13/* Return values for hypercalls */14#define KVM_ENOSYS		100015#define KVM_EFAULT		EFAULT16#define KVM_EINVAL		EINVAL17#define KVM_E2BIG		E2BIG18#define KVM_EPERM		EPERM19#define KVM_EOPNOTSUPP		9520 21#define KVM_HC_VAPIC_POLL_IRQ		122#define KVM_HC_MMU_OP			223#define KVM_HC_FEATURES			324#define KVM_HC_PPC_MAP_MAGIC_PAGE	425#define KVM_HC_KICK_CPU			526#define KVM_HC_MIPS_GET_CLOCK_FREQ	627#define KVM_HC_MIPS_EXIT_VM		728#define KVM_HC_MIPS_CONSOLE_OUTPUT	829#define KVM_HC_CLOCK_PAIRING		930#define KVM_HC_SEND_IPI		1031#define KVM_HC_SCHED_YIELD		1132#define KVM_HC_MAP_GPA_RANGE		1233 34/*35 * hypercalls use architecture specific36 */37#include <asm/kvm_para.h>38 39#endif /* _UAPI__LINUX_KVM_PARA_H */40