Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248091
b: refs/heads/master
c: 0a434bb
h: refs/heads/master
i:
  248089: 16fc771
  248087: b16816d
v: v3
  • Loading branch information
Avi Kivity committed May 22, 2011
1 parent e3e4b00 commit 10eb5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: ae8cc059550b2c2ec7a5e9650bb1be7b988a1208
refs/heads/master: 0a434bb2bf094f463ca3ca71ac42cea9e423048f
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3170,7 +3170,6 @@ static int handle_exception(struct kvm_vcpu *vcpu)
}

error_code = 0;
rip = kvm_rip_read(vcpu);
if (intr_info & INTR_INFO_DELIVER_CODE_MASK)
error_code = vmcs_read32(VM_EXIT_INTR_ERROR_CODE);
if (is_page_fault(intr_info)) {
Expand Down Expand Up @@ -3217,6 +3216,7 @@ static int handle_exception(struct kvm_vcpu *vcpu)
vmx->vcpu.arch.event_exit_inst_len =
vmcs_read32(VM_EXIT_INSTRUCTION_LEN);
kvm_run->exit_reason = KVM_EXIT_DEBUG;
rip = kvm_rip_read(vcpu);
kvm_run->debug.arch.pc = vmcs_readl(GUEST_CS_BASE) + rip;
kvm_run->debug.arch.exception = ex_no;
break;
Expand Down

0 comments on commit 10eb5c5

Please sign in to comment.