Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315889
b: refs/heads/master
c: de5f70e
h: refs/heads/master
i:
  315887: 77beab0
v: v3
  • Loading branch information
Avi Kivity committed Jul 9, 2012
1 parent d65aed3 commit a1a2caa
Show file tree
Hide file tree
Showing 2 changed files with 6 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: de87dcddc70ec6a90adfcc81f0ad7d84a892ffce
refs/heads/master: de5f70e0c65fcd0472a412a7a9690afcd3ee4526
6 changes: 5 additions & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -4996,8 +4996,12 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu)
goto out;
}

if (err != EMULATE_DONE)
if (err != EMULATE_DONE) {
vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
vcpu->run->internal.suberror = KVM_INTERNAL_ERROR_EMULATION;
vcpu->run->internal.ndata = 0;
return 0;
}

if (signal_pending(current))
goto out;
Expand Down

0 comments on commit a1a2caa

Please sign in to comment.