Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186038
b: refs/heads/master
c: a9040f2
h: refs/heads/master
v: v3
  • Loading branch information
Liu Yu authored and Marcelo Tosatti committed Mar 1, 2010
1 parent ba1b9d0 commit 96bedc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d86be077a4d62e5615e97674dab8d894ce582b09
refs/heads/master: a9040f274285c3c962a08b177ac5764b4a93df07
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kvm/e500.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu)

kvmppc_e500_tlb_setup(vcpu_e500);

/* Registers init */
vcpu->arch.pvr = mfspr(SPRN_PVR);

/* Since booke kvm only support one core, update all vcpus' PIR to 0 */
vcpu->vcpu_id = 0;

return 0;
}

Expand Down

0 comments on commit 96bedc2

Please sign in to comment.