summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-04-29 16:25:49 +0300
committerAvi Kivity <avi@qumranet.com>2007-05-03 10:52:32 +0300
commit2ff81f70b56dc1cdd3bf2f08414608069db6ef1a (patch)
treee0db2209f7a3a0284240e8245b12c7e72a5760b8 /include/linux/kvm.h
parent02c83209726270ddf9597deabc45e08f6fc3942c (diff)
downloadtalos-op-linux-2ff81f70b56dc1cdd3bf2f08414608069db6ef1a.tar.gz
talos-op-linux-2ff81f70b56dc1cdd3bf2f08414608069db6ef1a.zip
KVM: Remove unused 'instruction_length'
As we no longer emulate in userspace, this is meaningless. We don't compute it on SVM anyway. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 738c2f50c774..e6edca81ab84 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -11,7 +11,7 @@
#include <asm/types.h>
#include <linux/ioctl.h>
-#define KVM_API_VERSION 11
+#define KVM_API_VERSION 12
/*
* Architectural interrupt line count, and the size of the bitmap needed
@@ -63,10 +63,9 @@ struct kvm_run {
/* out */
__u32 exit_reason;
- __u32 instruction_length;
__u8 ready_for_interrupt_injection;
__u8 if_flag;
- __u8 padding2[6];
+ __u8 padding2[2];
/* in (pre_kvm_run), out (post_kvm_run) */
__u64 cr8;
OpenPOWER on IntegriCloud