Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248067
b: refs/heads/master
c: 13db70e
h: refs/heads/master
i:
  248065: ddab944
  248063: f2b16ac
v: v3
  • Loading branch information
Avi Kivity committed May 22, 2011
1 parent e2cd8d6 commit 7d3f78c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 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: 5197b808a7f459f9c7436573c7785ff3c1324c08
refs/heads/master: 13db70eca62c5bbb2cbbf6b23dadb94065d363d1
2 changes: 0 additions & 2 deletions trunk/arch/x86/include/asm/kvm_emulate.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ struct x86_emulate_ctxt {
struct x86_emulate_ops *ops;

/* Register state before/after emulation. */
struct kvm_vcpu *vcpu;

unsigned long eflags;
unsigned long eip; /* eip before instruction emulation */
/* Emulated execution mode, represented by an X86EMUL_MODE value. */
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -4463,7 +4463,6 @@ static void init_emulate_ctxt(struct kvm_vcpu *vcpu)

kvm_x86_ops->get_cs_db_l_bits(vcpu, &cs_db, &cs_l);

vcpu->arch.emulate_ctxt.vcpu = vcpu;
vcpu->arch.emulate_ctxt.eflags = kvm_get_rflags(vcpu);
vcpu->arch.emulate_ctxt.eip = kvm_rip_read(vcpu);
vcpu->arch.emulate_ctxt.mode =
Expand Down

0 comments on commit 7d3f78c

Please sign in to comment.