Re: [PATCH v5 03/15] KVM: SVM: Disable SEV/SEV-ES if NPT is disabled

From: Paolo Bonzini
Date: Fri Apr 23 2021 - 03:09:05 EST


On 22/04/21 20:11, Sean Christopherson wrote:
Yes, you're right. NPT is easy but we would have to guess what the spec
would say about MAXPHYADDR, while nNPT would require the stacking of a PML5.
Either way, blocking KVM is the easiest thing todo.
How about I fold that into the s/lm_root/pml4_root rename[*]? I.e. make the
blocking of PML5 a functional change, and the rename an opportunistic change?

[*]https://lkml.kernel.org/r/20210318201131.3242619-1-seanjc@xxxxxxxxxx


Yes, that's a good plan. Thanks,

Paolo