History

kvm uapi: Add KICK_CPU and PV_UNHALT definition to uapi

this is needed by both guest and host.

Raghavendra K T committed 13 years ago

Commit 4b0a8671 parent ea69f282 files · +2 −0Browse files

Unified · Split

2 files
  1. arch/x86/include/uapi/asm/kvm_para.h +1 −0
  2. include/uapi/linux/kvm_para.h +1 −0
arch/x86/include/uapi/asm/kvm_para.h+1−0
@@ -23,6 +23,7 @@ · 22 unmodified lines
23#define KVM_FEATURE_ASYNC_PF 423#define KVM_FEATURE_ASYNC_PF 4
24#define KVM_FEATURE_STEAL_TIME 524#define KVM_FEATURE_STEAL_TIME 5
25#define KVM_FEATURE_PV_EOI 625#define KVM_FEATURE_PV_EOI 6
26#define KVM_FEATURE_PV_UNHALT 7
26 27
27/* The last 8 bits are used to indicate how to interpret the flags field28/* The last 8 bits are used to indicate how to interpret the flags field
28 * in pvclock structure. If no bits are set, all flags are ignored.29 * in pvclock structure. If no bits are set, all flags are ignored.
include/uapi/linux/kvm_para.h+1−0
@@ -19,6 +19,7 @@ · 18 unmodified lines
19#define KVM_HC_MMU_OP 219#define KVM_HC_MMU_OP 2
20#define KVM_HC_FEATURES 320#define KVM_HC_FEATURES 3
21#define KVM_HC_PPC_MAP_MAGIC_PAGE 421#define KVM_HC_PPC_MAP_MAGIC_PAGE 4
22#define KVM_HC_KICK_CPU 5
22 23
23/*24/*
24 * hypercalls use architecture specific25 * hypercalls use architecture specific