Re: [RFC PATCH 10/37] KVM: MMU: Move struct kvm_page_fault to common code

David Matlack
2023-01-09T18:56:30Z

On Mon, Dec 12, 2022 at 2:27 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 12/8/22 20:38, David Matlack wrote:
> > +
> > + /* Derived from mmu and global state. */
> > + const bool is_tdp;
>
> I think this could stay in the architecture-independent part.

I agree but until there's a use case for accessing it in common code
I'm inclined to leave it in x86's kvm_page_fault_arch.