From: Avi Kivity Date: Tue, 17 Jul 2007 08:45:55 +0000 (+0300) Subject: KVM: Future-proof the exit information union ABI X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24cbc7e9cb0488095e4e144a762276c85ff55f9b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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]; }; };