aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-07-16 15:24:47 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:20 -0400
commit519ef35341b4f360f072ea74e398b70a5a2fc270 (patch)
treeaabebcfaea5ed195dfa106863361c6e8c24269f7 /include
parent1c3d14fe0ab75337a3f6c06b6bc18bcbc2b3d0bc (diff)
KVM: add hypercall nr to kvm_run
Add the hypercall number to kvm_run and initialize it. This changes the ABI, but as this particular ABI was unusable before this no users are affected. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 8db01a91e1a7..91a446f450b8 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -99,6 +99,7 @@ struct kvm_run {
99 } mmio; 99 } mmio;
100 /* KVM_EXIT_HYPERCALL */ 100 /* KVM_EXIT_HYPERCALL */
101 struct { 101 struct {
102 __u64 nr;
102 __u64 args[6]; 103 __u64 args[6];
103 __u64 ret; 104 __u64 ret;
104 __u32 longmode; 105 __u32 longmode;