Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146551
b: refs/heads/master
c: 4d13c3b
h: refs/heads/master
i:
  146549: 60e5be9
  146547: e2df5c8
  146543: 6efed43
v: v3
  • Loading branch information
Jes Sorensen authored and Avi Kivity committed Jun 10, 2009
1 parent a766839 commit 2a1618c
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 457459c3c738dfb37226ba116ba301140da0d1fb
refs/heads/master: 4d13c3b04f14a9a72ffcdd082acc243e7e56b4e0
7 changes: 6 additions & 1 deletion trunk/arch/ia64/kvm/kvm-ia64.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,8 @@ static void kvm_purge_vmm_mapping(struct kvm_vcpu *vcpu)

static int kvm_vcpu_pre_transition(struct kvm_vcpu *vcpu)
{
unsigned long psr;
int r;
int cpu = smp_processor_id();

if (vcpu->arch.last_run_cpu != cpu ||
Expand All @@ -630,7 +632,10 @@ static int kvm_vcpu_pre_transition(struct kvm_vcpu *vcpu)

vcpu->arch.host_rr6 = ia64_get_rr(RR6);
vti_set_rr6(vcpu->arch.vmm_rr);
return kvm_insert_vmm_mapping(vcpu);
local_irq_save(psr);
r = kvm_insert_vmm_mapping(vcpu);
local_irq_restore(psr);
return r;
}

static void kvm_vcpu_post_transition(struct kvm_vcpu *vcpu)
Expand Down

0 comments on commit 2a1618c

Please sign in to comment.