提交 8cd13307 编写于 作者: A Avi Kivity 提交者: Linus Torvalds

[PATCH] kvm: Fix mismatch between 32-bit and 64-bit abi

Unfortunately requiring a version bump.
Signed-off-by: NAvi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 26bb83a7
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <asm/types.h> #include <asm/types.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#define KVM_API_VERSION 2 #define KVM_API_VERSION 3
/* /*
* Architectural interrupt line count, and the size of the bitmap needed * Architectural interrupt line count, and the size of the bitmap needed
...@@ -187,6 +187,7 @@ struct kvm_translation { ...@@ -187,6 +187,7 @@ struct kvm_translation {
__u8 valid; __u8 valid;
__u8 writeable; __u8 writeable;
__u8 usermode; __u8 usermode;
__u8 pad[5];
}; };
/* for KVM_INTERRUPT */ /* for KVM_INTERRUPT */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册