1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _UAPI_ASM_KVM_PARA_H 3 #define _UAPI_ASM_KVM_PARA_H 4 5 #include <linux/types.h> 6 7 /* 8 * CPUCFG index area: 0x40000000 -- 0x400000ff 9 * SW emulation for KVM hypervirsor 10 */ 11 #define CPUCFG_KVM_BASE 0x40000000 12 #define CPUCFG_KVM_SIZE 0x100 13 #define CPUCFG_KVM_SIG (CPUCFG_KVM_BASE + 0) 14 #define KVM_SIGNATURE "KVM\0" 15 #define CPUCFG_KVM_FEATURE (CPUCFG_KVM_BASE + 4) 16 #define KVM_FEATURE_IPI 1 17 #define KVM_FEATURE_STEAL_TIME 2 18 /* BIT 24 - 31 are features configurable by user space vmm */ 19 #define KVM_FEATURE_VIRT_EXTIOI 24 20 21 #endif /* _UAPI_ASM_KVM_PARA_H */ 22