lkml.org 
[lkml]   [2017]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 4/5] KVM: MMU: Add 5 level EPT & Shadow page table support.
From
Date
On 24/08/2017 14:27, Yu Zhang wrote:
> /* Update physical-address width */
> vcpu->arch.maxphyaddr = cpuid_query_maxphyaddr(vcpu);
>
> +#ifdef CONFIG_X86_64
> + if (vcpu->arch.maxphyaddr > 48)
> + kvm_mmu_reset_context(vcpu);
> +#endif

I think CONFIG_X86_64 is not necessary to have maxphyaddr>48?

Paolo

> kvm_pmu_refresh(vcpu);
> return 0;
> }

\
 
 \ /
  Last update: 2017-08-24 15:43    [W:0.119 / U:6.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site