Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156586
b: refs/heads/master
c: 34f0c1a
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kiszka authored and Avi Kivity committed Aug 5, 2009
1 parent a75dc31 commit e7c3cd7
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: 025dbbf36a7680bffe54d9dcbf0a8bc01a7cbd10
refs/heads/master: 34f0c1ad27a74bd5eb0f99ea43ab6a4658d6419d
4 changes: 2 additions & 2 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3157,8 +3157,8 @@ static void handle_invalid_guest_state(struct kvm_vcpu *vcpu,
struct vcpu_vmx *vmx = to_vmx(vcpu);
enum emulation_result err = EMULATE_DONE;

preempt_enable();
local_irq_enable();
preempt_enable();

while (!guest_state_valid(vcpu)) {
err = emulate_instruction(vcpu, kvm_run, 0, 0, 0);
Expand All @@ -3177,8 +3177,8 @@ static void handle_invalid_guest_state(struct kvm_vcpu *vcpu,
schedule();
}

local_irq_disable();
preempt_disable();
local_irq_disable();

vmx->invalid_state_emulation_result = err;
}
Expand Down

0 comments on commit e7c3cd7

Please sign in to comment.