summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-07-17 11:45:55 +0300
committerAvi Kivity <avi@qumranet.com>2007-10-13 10:18:17 +0200
commit24cbc7e9cb0488095e4e144a762276c85ff55f9b (patch)
treeedcd9287db085d197fd9935a4c29817bbcd6b3f9 /include
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')
-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 {
__u32 longmode;
__u32 pad;
} hypercall;
+ /* Fix the size of the union. */
+ char padding[256];
};
};