projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad3795
)
KVM: Future-proof the exit information union ABI
author
Avi Kivity
<avi@qumranet.com>
Tue, 17 Jul 2007 08:45:55 +0000
(11:45 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Sat, 13 Oct 2007 08:18:17 +0000
(10:18 +0200)
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>
include/linux/kvm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/kvm.h
b/include/linux/kvm.h
index e6edca81ab847f54ff920b2b4b346e3ec60400c1..b9a4b7c436f2142987b4509f18181afe79b92349 100644
(file)
--- 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];
};
};