Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54119
b: refs/heads/master
c: 2ff81f7
h: refs/heads/master
i:
  54117: e34e0da
  54115: 8e95685
  54111: 535dd18
v: v3
  • Loading branch information
Avi Kivity committed May 3, 2007
1 parent 89381e6 commit 1ca5a37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02c83209726270ddf9597deabc45e08f6fc3942c
refs/heads/master: 2ff81f70b56dc1cdd3bf2f08414608069db6ef1a
1 change: 0 additions & 1 deletion trunk/drivers/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 2 additions & 3 deletions trunk/include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1ca5a37

Please sign in to comment.