On Tue, Jul 06, 2021, Paolo Bonzini wrote: > On 03/07/21 00:04, isaku.yamahata@xxxxxxxxx wrote: > > From: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> > > > > TODO: This is tentative patch. Support large page and delete this patch. > > > > Allow TDX to effectively disable large pages, as SEPT will initially > > support only 4k pages. ... > Seems good enough for now. Looks like SNP needs a dynamic check, i.e. a kvm_x86_ops hook, to handle an edge case in the RMP. That's probably the better route given that this is a short-term hack (hopefully :-D).