AnsweredAssumed Answered

KVM on E500 core cpu MPC8572_E

Question asked by mani kanta on Aug 21, 2015
Latest reply on Aug 31, 2015 by Scott Wood

Hi,

 

MPC8572_E cpu is a dual core, we are using one core loaded with ios image and second core was brought up with Linux 2.6.32. we are looking for options to enable KVM on the dual core,

 

by editing /nobackup/usr1/sup2t/target/configs/p1021_c800_kernel_defconfig       
and adding vt and kvm config

 

CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_KVM_E500=y
CONFIG_TUN=y

 

 

and while building kernel image, following error message was displayed. "error: too many arguments to function 'trace_kvm_stlb_inval'"

 

please do the needful in helping to build kernel image with KVM support.

 

Error message:

bgl-ads-1348:240> make CWAN_PLATFORM=p1021_c800

Creating rootfs structure

Creating target root file
system...

----------- compile =>
/nobackup/usr1/sup2t/hostTools/tools -----------

----------- compile =>
/nobackup/usr1/sup2t/u-boot -----------

----------- compile =>
/nobackup/usr1/sup2t/kernel-2.6.32 -----------

make: ***
[compile_!nobackup!usr1!sup2t!kernel-2.6.32] Error 2

bgl-ads-1348:241>

 

Logs in buildlogs:

 

arch/powerpc/kvm/e500_tlb.c: In
function 'kvmppc_e500_stlbe_invalidate':

arch/powerpc/kvm/e500_tlb.c:229:
error: too many arguments to function 'trace_kvm_stlb_inval'

make[3]: ***
[arch/powerpc/kvm/e500_tlb.o] Error 1

make[2]: *** [arch/powerpc/kvm]
Error 2

make[2]: Leaving directory
`/nobackup/usr1/sup2t/kernel-2.6.32/linux-2.6.32'

make[1]: *** [compile] Error 2

make[1]: Leaving directory
`/nobackup/usr1/sup2t/kernel-2.6.32'

bgl-ads-1348:230>

 

Thanks

Manikantag

Outcomes