aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-07-17 04:45:55 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:17 -0400
commit24cbc7e9cb0488095e4e144a762276c85ff55f9b (patch)
treeedcd9287db085d197fd9935a4c29817bbcd6b3f9 /include/linux
parentdad3795d2baa4e02cbfd161d9089c73dea16b4ba (diff)
KVM: Future-proof the exit information union ABI
Note that as the size of struct kvm_run is not part of the ABI, we can add things at the end. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index e6edca81ab84..b9a4b7c436f2 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -111,6 +111,8 @@ struct kvm_run {
111 __u32 longmode; 111 __u32 longmode;
112 __u32 pad; 112 __u32 pad;
113 } hypercall; 113 } hypercall;
114 /* Fix the size of the union. */
115 char padding[256];
114 }; 116 };
115}; 117};
116 118