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 <[EMAIL PROTECTED]> --- include/linux/kvm.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/kvm.h b/include/linux/kvm.h index e6edca8..b9a4b7c 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]; }; }; -- 1.5.3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel