Commit 24cbc7e9 authored by Avi Kivity's avatar Avi Kivity

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: default avatarAvi Kivity <avi@qumranet.com>
parent dad3795d
...@@ -111,6 +111,8 @@ struct kvm_run { ...@@ -111,6 +111,8 @@ struct kvm_run {
__u32 longmode; __u32 longmode;
__u32 pad; __u32 pad;
} hypercall; } hypercall;
/* Fix the size of the union. */
char padding[256];
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment