diff options
author | Avi Kivity <avi@qumranet.com> | 2007-04-29 15:25:49 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 09:52:32 +0200 |
commit | 2ff81f70b56dc1cdd3bf2f08414608069db6ef1a (patch) | |
tree | e0db2209f7a3a0284240e8245b12c7e72a5760b8 /drivers/kvm | |
parent | KVM: Don't require explicit indication of completion of mmio or pio (diff) | |
download | linux-2ff81f70b56dc1cdd3bf2f08414608069db6ef1a.tar.xz 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 'drivers/kvm')
-rw-r--r-- | drivers/kvm/vmx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 5a2a68dec6bf..724db0027f00 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -1783,7 +1783,6 @@ static int kvm_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) exit_reason != EXIT_REASON_EXCEPTION_NMI ) printk(KERN_WARNING "%s: unexpected, valid vectoring info and " "exit reason is 0x%x\n", __FUNCTION__, exit_reason); - kvm_run->instruction_length = vmcs_read32(VM_EXIT_INSTRUCTION_LEN); if (exit_reason < kvm_vmx_max_exit_handlers && kvm_vmx_exit_handlers[exit_reason]) return kvm_vmx_exit_handlers[exit_reason](vcpu, kvm_run); |