Make sure guest sees CCR1[TCS] bit from
Subsystems (2)
PATCH 1/1 Make sure guest sees CCR1[TCS] bit from
This patch fixes a bug where the wrong clock period is being used by the guest causing extreme long delays when the kernel makes a call to udelay.
Signed-off-by Jerone Young <[email protected]>
arch/powerpc/kvm/powerpc.c +3 -0
@@ -535,6 +535,9 @@ int kvm_arch_vcpu_setup(struct kvm_vcpu* before it's programmed its own IVPR. */ vcpu->arch.ivpr =0x55550000 ; +/* make sure guest sees state of CCR1[TCS] */ + vcpu->arch.ccr1 =mfspr (SPRN_CCR1 ); +return 0 ; }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-ppc-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel