Re: [PATCH 1/4] mips/kvm: Init EBase to correct KSEG0

2014-06-27 Thread Aurelien Jarno
On Thu, Jun 26, 2014 at 10:44:22AM +0100, James Hogan wrote: > The EBase CP0 register is initialised to 0x8000, however with KVM > the guest's KSEG0 is at 0x4000. The incorrect value doesn't get > passed to KVM yet as KVM doesn't implement the EBase register, however > we should set it corr

[PATCH 1/4] mips/kvm: Init EBase to correct KSEG0

2014-06-26 Thread James Hogan
The EBase CP0 register is initialised to 0x8000, however with KVM the guest's KSEG0 is at 0x4000. The incorrect value doesn't get passed to KVM yet as KVM doesn't implement the EBase register, however we should set it correctly now so as not to break migration/loadvm to a future version of