From: Avi Kivity Date: Mon, 12 Feb 2007 08:54:41 +0000 (-0800) Subject: [PATCH] kvm: Fix mismatch between 32-bit and 64-bit abi X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cd133073f9b5cd335c0b2e4740aceb025d50ca9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] kvm: Fix mismatch between 32-bit and 64-bit abi Unfortunately requiring a version bump. Signed-off-by: Avi Kivity Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 6a5f6f49e037..f3604593fb76 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -11,7 +11,7 @@ #include #include -#define KVM_API_VERSION 2 +#define KVM_API_VERSION 3 /* * Architectural interrupt line count, and the size of the bitmap needed @@ -187,6 +187,7 @@ struct kvm_translation { __u8 valid; __u8 writeable; __u8 usermode; + __u8 pad[5]; }; /* for KVM_INTERRUPT */