Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103730
b: refs/heads/master
c: 25be460
h: refs/heads/master
v: v3
  • Loading branch information
Glauber Costa authored and Avi Kivity committed Jul 20, 2008
1 parent e1d57e5 commit 12c9fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 622395a9e63bf87a16faecf555ed02375cbae5b7
refs/heads/master: 25be46080f1a446cb2bda3daadbd22a5682b955e
4 changes: 2 additions & 2 deletions trunk/arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -2081,11 +2081,11 @@ void kvm_report_emulation_failure(struct kvm_vcpu *vcpu, const char *context)
unsigned long rip = vcpu->arch.rip;
unsigned long rip_linear;

rip_linear = rip + get_segment_base(vcpu, VCPU_SREG_CS);

if (reported)
return;

rip_linear = rip + get_segment_base(vcpu, VCPU_SREG_CS);

emulator_read_std(rip_linear, (void *)opcodes, 4, vcpu);

printk(KERN_ERR "emulation failed (%s) rip %lx %02x %02x %02x %02x\n",
Expand Down

0 comments on commit 12c9fe2

Please sign in to comment.